table_create Tags TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] table_create UserDataJP TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create UserDataJP tags COLUMN_VECTOR Tags [[0,0.0,0.0],true] table_create UserDataUS TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create UserDataUS tags COLUMN_VECTOR Tags [[0,0.0,0.0],true] table_create Users TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create Users jp COLUMN_SCALAR UserDataJP [[0,0.0,0.0],true] column_create Users us COLUMN_SCALAR UserDataUS [[0,0.0,0.0],true] load --table UserDataJP [ {"_key": "alice", "tags": ["A", "B"]} ] [[0,0.0,0.0],1] load --table UserDataUS [ {"_key": "bob", "tags": ["A", "C"]} ] [[0,0.0,0.0],1] load --table Users [ {"_key": "alice", "jp": "alice"}, {"_key": "bob", "us": "bob"} ] [[0,0.0,0.0],2] select Users --drilldowns[tag].keys "jp.tags || us.tags" --command_version 3 { "header": { "return_code": 0, "start_time": 0.0, "elapsed_time": 0.0 }, "body": { "n_hits": 2, "columns": [ { "name": "_id", "type": "UInt32" }, { "name": "_key", "type": "ShortText" }, { "name": "jp", "type": "UserDataJP" }, { "name": "us", "type": "UserDataUS" } ], "records": [ [ 1, "alice", "alice", "" ], [ 2, "bob", "", "bob" ] ], "drilldowns": { "tag": { "n_hits": 3, "columns": [ { "name": "_key", "type": "ShortText" }, { "name": "_nsubrecs", "type": "Int32" } ], "records": [ [ "A", 2 ], [ "B", 1 ], [ "C", 1 ] ] } } } }