-
Notifications
You must be signed in to change notification settings - Fork 387
iproto: introduce IPROTO_INSERT_ARROW
request
#10518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iproto: introduce IPROTO_INSERT_ARROW
request
#10518
Conversation
2478f54
to
f68db29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a single question.
f68db29
to
0be0526
Compare
0be0526
to
333dfd7
Compare
333dfd7
to
6479154
Compare
6479154
to
b3b2c7e
Compare
b3b2c7e
to
899252d
Compare
Bumped nanoarrow to bring compilation fix. |
5f4bec5
to
72f1c28
Compare
The nanoarrow library is required to work with the serialized Arrow IPC format [1]. 1. https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc Needed for tarantool#10508 Needed for tarantool/tarantool-ee#820 NO_DOC=third_party NO_TEST=third_party NO_CHANGELOG=third_party
Also the NULL assignments are replaced by the assertions, as the `iproto_thread` structure is allocated by `calloc()`. NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
The new method inserts into a given space the data, provided in Arrow columnar format [1]. At the moment it is not supported by memtx and vinyl spaces. Also the IPROTO_INSERT_ARROW request is introduced. It inserts the data that is serialized into Arrow IPC format [2]. 1. https://arrow.apache.org/docs/format/Columnar.html 2. https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc Closes tarantool#10508 Needed for tarantool/tarantool-ee#820 NO_CHANGELOG=No sense in mentioning in CE release notes @TarantoolBot document Title: Document iproto request IPROTO_INSERT_ARROW Product: Tarantool Since: 3.3 Root documents: https://www.tarantool.io/en/doc/latest/reference/internals/iproto/requests/ https://www.tarantool.io/en/doc/latest/reference/internals/iproto/keys/#internals-iproto-keys-features Available IPROTO_FEATURES are the following: * IPROTO_FEATURE_INSERT_ARROW = 12 - Support of data insertion in Arrow format. IPROTO version supporting the this feature is 10 or newer. Client-server requests and responses: * IPROTO_INSERT_ARROW = 0x11 - Insert Arrow data request. The structure of the `IPROTO_INSERT_ARROW` request is similar to `IPROTO_INSERT`, the only difference is `IPROTO_ARROW : MP_ARROW` instead of `IPROTO_TUPLE : MP_ARRAY`. The response to `IPROTO_INSERT_ARROW` contains an empty body.
72f1c28
to
1189cc8
Compare
Rewrote
|
The new request inserts into a given space the data that is encoded into Arrow IPC columnar format 1.
At the moment the request is not supported by memtx and vinyl spaces.
Closes #10508
Needed for https://github.com/tarantool/tarantool-ee/issues/820
Footnotes
https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc ↩