| 1 |
table_create Documents TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Documents tag1 COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Documents tag2 COLUMN_SCALAR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Documents |
| 8 |
[ |
| 9 |
{"tag1": "1", "tag2": "2"} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Documents --drilldown tag1,tag2 --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": "tag1", |
| 28 |
"type": "ShortText" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"name": "tag2", |
| 32 |
"type": "ShortText" |
| 33 |
} |
| 34 |
], |
| 35 |
"records": [ |
| 36 |
[ |
| 37 |
1, |
| 38 |
"1", |
| 39 |
"2" |
| 40 |
] |
| 41 |
], |
| 42 |
"drilldowns": { |
| 43 |
"tag1": { |
| 44 |
"n_hits": 1, |
| 45 |
"columns": [ |
| 46 |
{ |
| 47 |
"name": "_key", |
| 48 |
"type": "ShortText" |
| 49 |
}, |
| 50 |
{ |
| 51 |
"name": "_nsubrecs", |
| 52 |
"type": "Int32" |
| 53 |
} |
| 54 |
], |
| 55 |
"records": [ |
| 56 |
[ |
| 57 |
"1", |
| 58 |
1 |
| 59 |
] |
| 60 |
] |
| 61 |
}, |
| 62 |
"tag2": { |
| 63 |
"n_hits": 1, |
| 64 |
"columns": [ |
| 65 |
{ |
| 66 |
"name": "_key", |
| 67 |
"type": "ShortText" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"name": "_nsubrecs", |
| 71 |
"type": "Int32" |
| 72 |
} |
| 73 |
], |
| 74 |
"records": [ |
| 75 |
[ |
| 76 |
"2", |
| 77 |
1 |
| 78 |
] |
| 79 |
] |
| 80 |
} |
| 81 |
} |
| 82 |
} |
| 83 |
} |