| 1 |
table_create Users TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Users age COLUMN_SCALAR UInt8 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Logs TABLE_NO_KEY |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Logs users COLUMN_VECTOR Users |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Users |
| 10 |
[ |
| 11 |
{"_key": "alice", "age": 12}, |
| 12 |
{"_key": "bob", "age": 29}, |
| 13 |
{"_key": "chris", "age": 3} |
| 14 |
] |
| 15 |
[[0,0.0,0.0],3] |
| 16 |
load --table Logs |
| 17 |
[ |
| 18 |
{"users": ["bob", "chris", "alice"]} |
| 19 |
] |
| 20 |
[[0,0.0,0.0],1] |
| 21 |
select Logs --output_columns '_id, min(users.age)' |
| 22 |
[[0,0.0,0.0],[[[1],[["_id","UInt32"],["min",null]],[1,3]]]] |