Skip to content
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

Support IPROTO_TUPLE_FORMATS #362

Open
oleg-jukovec opened this issue Dec 7, 2023 · 0 comments
Open

Support IPROTO_TUPLE_FORMATS #362

oleg-jukovec opened this issue Dec 7, 2023 · 0 comments
Labels
5sp feature A new functionality teamE

Comments

@oleg-jukovec
Copy link
Collaborator

oleg-jukovec commented Dec 7, 2023

Now tuples are decoded into structures according to the order of the fields in the structure. We need to support tuple format in IPROTO features to decode tuples into structures based on field names (or msgpack/v5 labels) in the structure.

This will allow users not to change the code when changing the space scheme (within reasonable limits).

See:

  1. https://github.com/tarantool/tarantool/blob/21112b066902338724f4f3671359f3e624b45938/src/box/iproto_features.h#L62-L79
  2. https://github.com/tarantool/roadmap-internal/issues/212
@oleg-jukovec oleg-jukovec added teamE feature A new functionality 5sp labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5sp feature A new functionality teamE
Projects
None yet
Development

No branches or pull requests

1 participant