Debian Codegraph @

test/command/suite/select/function/between/with_index/cast/max_error.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Users age COLUMN_SCALAR Int32
4 [[0,0.0,0.0],true]
5 table_create Ages TABLE_PAT_KEY Int32
6 [[0,0.0,0.0],true]
7 column_create Ages users_age COLUMN_INDEX Users age
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"_key": "alice", "age": 17},
12 {"_key": "bob", "age": 18},
13 {"_key": "calros", "age": 19},
14 {"_key": "dave", "age": 20},
15 {"_key": "eric", "age": 21}
16 ]
17 [[0,0.0,0.0],5]
18 select Users --filter 'between(age, 18, "include", "XXX", "include")'
19 [[[-22,0.0,0.0],"between(): failed to cast max: <\"XXX\"> -> <Int32>"]]
20 #|e| between(): failed to cast max: <"XXX"> -> <Int32>