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
json path schema issue, test lies or bug #5673
Comments
Thanks for the feedback.
Why do you think it is a typo? The name is correct. It is used in the test later. Line 256 in tuple.test.lua.
Yes, like it should. It is stored as a fifth field of the format: As for the documentation link you attached, I am not sure I follow what it changes. It shows that you can 1) define fields with names which look like JSON paths, 2) when you use a JSON path in a tuple field access and there is no a field name matching it exactly, it is treated as a real JSON path. Both points are correct. |
The example from the documentation completely confused me and I got it all wrong. |
Feel free to open a ticket in doc/ repository to make them use better examples. |
Tarantool version: 2.5.2 (2.1 +)
Bug description:
https://github.com/tarantool/tarantool/blob/2.5.2/test/engine/tuple.test.lua#L229-L233
first: the string contains a typo
second:
in fact, the above
type
does not affect the nested document in filed2, but the raw field in tuple at number 5doc:
https://github.com/tarantool/doc/blame/2.5/doc/reference/reference_lua/box_tuple.rst#L318
The text was updated successfully, but these errors were encountered: