Debian Codegraph @

test/command/suite/select/drilldown/labeled/no_keys/no_table.test

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 column_create Memos value COLUMN_SCALAR Int64
3
4 load --table Memos
5 [
6 {"_key": "Groonga is fast!", "value": 10},
7 {"_key": "Mroonga is fast!", "value": 2},
8 {"_key": "Groonga sticker!", "value": 3},
9 {"_key": "Rroonga is fast!", "value": 4}
10 ]
11
12 select Memos \
13 --drilldown[sum].calc_types SUM \
14 --drilldown[sum].calc_target value \
15 --drilldown[sum].output_columns _key,_sum