box: inherit index collation from the space format
If create_index('...', {parts = {...}}) is called without the `collation` option, then use collation from the space format. Closes #5104 @TarantoolBot document Title: Index options are inherited from the space format Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/create_index/ If `is_nullable` and `collation` options are not set, then they are inherited from the space format, if applicable for that field type. (cherry picked from commit f2f40ff7)
Showing
- changelogs/unreleased/gh-5104-inherit-index-collation-from-format.md 4 additions, 0 deletions...unreleased/gh-5104-inherit-index-collation-from-format.md
- src/box/lua/schema.lua 3 additions, 0 deletionssrc/box/lua/schema.lua
- test/engine-luatest/gh_5104_inherit_index_collation_from_format_test.lua 31 additions, 0 deletions...test/gh_5104_inherit_index_collation_from_format_test.lua
Please register or sign in to comment