sql: add collations and DESC for ephemeral table
- Added ability to specify collations for ephemeral tables. - Enabled DESC sorting order. It is implemented as ASC, but rows are taken from sorting table in reversed order. Currently, it is impossbile to specify more than one sorting order for all columns in ORDER BY clause due to incapability of iterating through different orders in Tarantool. As soon as this feature is added to Tarantool, it will be implemeted in SQL. - Fixed code generation for adding rows to ephemeral table while coroutine yields. - Temporary disabled tests which used different sorting orders in one query. Part of #2680
Showing
- src/box/sql.c 47 additions, 4 deletionssrc/box/sql.c
- src/box/sql/btree.c 2 additions, 0 deletionssrc/box/sql/btree.c
- src/box/sql/select.c 30 additions, 12 deletionssrc/box/sql/select.c
- src/box/sql/tarantoolInt.h 3 additions, 1 deletionsrc/box/sql/tarantoolInt.h
- src/box/sql/vdbe.c 2 additions, 1 deletionsrc/box/sql/vdbe.c
- test/sql-tap/alias.test.lua 34 additions, 25 deletionstest/sql-tap/alias.test.lua
- test/sql-tap/e_select1.test.lua 0 additions, 1 deletiontest/sql-tap/e_select1.test.lua
- test/sql-tap/orderby6.test.lua 47 additions, 44 deletionstest/sql-tap/orderby6.test.lua
- test/sql-tap/orderby9.test.lua 2 additions, 2 deletionstest/sql-tap/orderby9.test.lua
Loading
Please register or sign in to comment