Skip to content

[2pt] uuid create_index example doesn't work #1932

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

Closed
pgulutzan opened this issue Mar 14, 2021 · 0 comments · Fixed by #2026
Closed

[2pt] uuid create_index example doesn't work #1932

pgulutzan opened this issue Mar 14, 2021 · 0 comments · Fixed by #2026
Assignees
Labels
reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality

Comments

@pgulutzan
Copy link
Contributor

pgulutzan commented Mar 14, 2021

In the documentation of module uuid
https://www.tarantool.io/en/doc/latest/reference/reference_lua/uuid/#
there is an example statement

box.space.test:create_index("pk", {parts={field = 1, type = 'uuid'}})

which doesn't work.
Perhaps the intention was to write either

box.space.test:create_index("pk", {parts={{field = 1, type = 'uuid'}}})

or

box.space.test:create_index("pk", {parts={1, type = 'uuid'}})

See also issue #1737.

@NickVolynkin NickVolynkin added reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality labels Mar 25, 2021
@NickVolynkin NickVolynkin changed the title uuid create_index example doesn't work [2pt] uuid create_index example doesn't work Mar 25, 2021
@Onvember Onvember linked a pull request Apr 2, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants