Skip to content

[2pt] New way to define index parts #1737

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
mary3000 opened this issue Jan 12, 2021 · 0 comments · Fixed by #2025
Closed

[2pt] New way to define index parts #1737

mary3000 opened this issue Jan 12, 2021 · 0 comments · Fixed by #2025
Assignees
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Milestone

Comments

@mary3000
Copy link

mary3000 commented Jan 12, 2021

New way to define index parts

Product: Tarantool
Since: 2.7.1
Audience/target:
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space
SME: @mary3000
Peer reviewer: @

Documentation needs to be updated according to tarantool/tarantool#2866:

Previously accepted formats of index parts:

parts = {field1, type1, field2, type2}
-- or
parts = {{field1, type1, ...}, {field2, type2, ...}}

Now it is allowed to write without extra brace if there is one part only:

parts = {field1, type1, ...}
@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality 2.7 labels Jan 29, 2021
@veod32 veod32 changed the title Document new way to define index parts [8pt] Document new way to define index parts Jan 29, 2021
@NickVolynkin NickVolynkin added the reference [location] Tarantool manual, Reference part label Feb 3, 2021
@Onvember Onvember added the feature A new functionality label Feb 12, 2021
@NickVolynkin NickVolynkin changed the title [8pt] Document new way to define index parts [2pt] Document new way to define index parts Mar 10, 2021
@NickVolynkin NickVolynkin changed the title [2pt] Document new way to define index parts [2pt] New way to define index parts Mar 10, 2021
@veod32 veod32 added 2.7.1 and removed 2.7 labels Mar 18, 2021
Onvember added a commit that referenced this issue Apr 2, 2021
Onvember added a commit that referenced this issue Apr 8, 2021
…ting indexes (#2025)

* fixes gh-1737 describe the new way to write 'parts' option while creating indexes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality 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.

4 participants