| 1 |
table_create Users TABLE_HASH_KEY ShortText |
| 2 |
column_create Users first_name COLUMN_SCALAR ShortText |
| 3 |
column_create Users last_name COLUMN_SCALAR ShortText |
| 4 |
column_create Users nickname COLUMN_SCALAR ShortText |
| 5 |
column_create Users age COLUMN_SCALAR UInt8 |
| 6 |
|
| 7 |
load --table Users |
| 8 |
[ |
| 9 |
{"_key": "alice1", "nickname": "My Alice", "age": 8}, |
| 10 |
{"_key": "alice2", "first_name": "My", "last_name": "Alice", "age": 8}, |
| 11 |
{"_key": "alice3", "nickname": "My Alice", "age": 10}, |
| 12 |
{"_key": "bob", "nickname": "Bob", "age": 20} |
| 13 |
] |
| 14 |
|
| 15 |
select Users \ |
| 16 |
--drilldowns[name].keys "nickname || first_name + ' ' + last_name, age" \ |
| 17 |
--drilldowns[name].output_columns "_key[0], _key[1], _nsubrecs" |