sql: incomparable types in ORDER BY and GROUP BY
This patch prohibits the use of ARRAY, MAP and INTERVAL in ORDER BY. In addition, GROUP BY now also checks the types of the arguments when building the VDBE. Closes #6668 NO_DOC=bugfix
Showing
- changelogs/unreleased/gh-6668-ordering-incomparable-types.md 4 additions, 0 deletionschangelogs/unreleased/gh-6668-ordering-incomparable-types.md
- src/box/sql/resolve.c 12 additions, 0 deletionssrc/box/sql/resolve.c
- test/sql-luatest/gh_6668_problems_with_map_array_test.lua 27 additions, 5 deletionstest/sql-luatest/gh_6668_problems_with_map_array_test.lua
- test/sql-luatest/interval_test.lua 4 additions, 3 deletionstest/sql-luatest/interval_test.lua
- test/sql-tap/uuid.test.lua 1 addition, 19 deletionstest/sql-tap/uuid.test.lua
Loading
Please register or sign in to comment