sql: introduce field type ANY
Closes #3174 @TarantoolBot document Title: Field type ANY in SQL Properties of type ANY in SQL: 1) typeof() with an argument of type ANY returns "any"; 2) any value of any type can be implicitly and explicitly cast to the ANY type; 3) a value of type ANY cannot be implicitly cast to any other type; 4) a value of type ANY cannot participate in arithmetic, bitwise, comparison, and concationation operations.
Showing
- extra/mkkeywordhash.c 2 additions, 1 deletionextra/mkkeywordhash.c
- src/box/sql/func.c 1 addition, 1 deletionsrc/box/sql/func.c
- src/box/sql/mem.c 36 additions, 13 deletionssrc/box/sql/mem.c
- src/box/sql/mem.h 3 additions, 1 deletionsrc/box/sql/mem.h
- src/box/sql/parse.y 2 additions, 1 deletionsrc/box/sql/parse.y
- src/box/sql/vdbe.c 3 additions, 1 deletionsrc/box/sql/vdbe.c
- test/sql-tap/metatypes.test.lua 545 additions, 23 deletionstest/sql-tap/metatypes.test.lua
Loading
Please register or sign in to comment