Debian Codegraph @

test/command/suite/select/function/json_extract/path/invalid_format.expected

raw
1 table_create Data TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Data value COLUMN_SCALAR JSON
4 [[0,0.0,0.0],true]
5 load --table Data
6 [
7 {"value": "{\"value\": [[1, 10], [100]]}"},
8 {"value": "{\"value\": [[2], [20, 200]]}"},
9 {"value": "{\"value\": [[-1, -10], [-100]]}"}
10 ]
11 [[0,0.0,0.0],3]
12 select Data --filter 'between(json_extract(value, "$."), 10, 20)'
13 [[[-22,0.0,0.0],"json_extract(): failed to parse JSONPath: <$.>"]]
14 #|e| [json-path][open] invalid JSONPath: Syntax error at line 1 and column 3: <$.>
15 #|e| json_extract(): failed to parse JSONPath: <$.>