| 1 |
table_create Entries TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Entries tags1 COLUMN_VECTOR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Entries tags2 COLUMN_VECTOR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Entries |
| 8 |
[ |
| 9 |
{"tags1": ["A", "B"], "tags2": ["C", "D"]} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Entries --output_columns '_id, tags1 + tags2' --command_version 3 |
| 13 |
{ |
| 14 |
"header": { |
| 15 |
"return_code": 0, |
| 16 |
"start_time": 0.0, |
| 17 |
"elapsed_time": 0.0 |
| 18 |
}, |
| 19 |
"body": { |
| 20 |
"n_hits": 1, |
| 21 |
"columns": [ |
| 22 |
{ |
| 23 |
"name": "_id", |
| 24 |
"type": "UInt32" |
| 25 |
}, |
| 26 |
{ |
| 27 |
"name": "(tags1 + tags2)", |
| 28 |
"type": "ShortText" |
| 29 |
} |
| 30 |
], |
| 31 |
"records": [ |
| 32 |
[ |
| 33 |
1, |
| 34 |
[ |
| 35 |
"A", |
| 36 |
"B", |
| 37 |
"C", |
| 38 |
"D" |
| 39 |
] |
| 40 |
] |
| 41 |
] |
| 42 |
} |
| 43 |
} |