| 1 |
table_create Numbers TABLE_HASH_KEY Int32 |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Values TABLE_NO_KEY |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Values number COLUMN_SCALAR Numbers |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Values |
| 8 |
[ |
| 9 |
{"number": 127}, |
| 10 |
{"number": 256}, |
| 11 |
{"number": -255} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],3] |
| 14 |
select Values --sort_keys number --output_columns number._id,number |
| 15 |
[ |
| 16 |
[ |
| 17 |
0, |
| 18 |
0.0, |
| 19 |
0.0 |
| 20 |
], |
| 21 |
[ |
| 22 |
[ |
| 23 |
[ |
| 24 |
3 |
| 25 |
], |
| 26 |
[ |
| 27 |
[ |
| 28 |
"number._id", |
| 29 |
"UInt32" |
| 30 |
], |
| 31 |
[ |
| 32 |
"number", |
| 33 |
"Numbers" |
| 34 |
] |
| 35 |
], |
| 36 |
[ |
| 37 |
1, |
| 38 |
127 |
| 39 |
], |
| 40 |
[ |
| 41 |
2, |
| 42 |
256 |
| 43 |
], |
| 44 |
[ |
| 45 |
3, |
| 46 |
-255 |
| 47 |
] |
| 48 |
] |
| 49 |
] |
| 50 |
] |