Debian Codegraph @

test/command/suite/select/function/number/number_classify/uint32.test

raw
1 plugin_register functions/number
2
3 table_create Prices TABLE_PAT_KEY UInt32
4
5 load --table Prices
6 [
7 {"_key": 0},
8 {"_key": 1},
9 {"_key": 99},
10 {"_key": 100},
11 {"_key": 101},
12 {"_key": 199},
13 {"_key": 200},
14 {"_key": 201}
15 ]
16
17 select Prices \
18 --sortby _id \
19 --limit -1 \
20 --output_columns '_key, number_classify(_key, 100)'