| 1 |
table_create Categories TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Categories sub_category COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Tags TABLE_PAT_KEY ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Tags category COLUMN_SCALAR Categories |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
table_create Memos TABLE_HASH_KEY ShortText |
| 10 |
[[0,0.0,0.0],true] |
| 11 |
column_create Memos tag COLUMN_SCALAR Tags |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
load --table Memos |
| 14 |
[ |
| 15 |
{"_key": "Groonga is fast!", "tag": "Groonga"}, |
| 16 |
{"_key": "Mroonga is fast!", "tag": "Mroonga"}, |
| 17 |
{"_key": "Groonga sticker!", "tag": "Groonga"}, |
| 18 |
{"_key": "Rroonga is fast!", "tag": "Rroonga"} |
| 19 |
] |
| 20 |
[[0,0.0,0.0],4] |
| 21 |
load --table Tags |
| 22 |
[ |
| 23 |
{"_key": "Groonga", "category": "C/C++"}, |
| 24 |
{"_key": "Mroonga", "category": "C/C++"}, |
| 25 |
{"_key": "Rroonga", "category": "Ruby"} |
| 26 |
] |
| 27 |
[[0,0.0,0.0],3] |
| 28 |
load --table Categories |
| 29 |
[ |
| 30 |
{"_key": "C/C++", "sub_category": "Programming language"}, |
| 31 |
{"_key": "Ruby", "sub_category": "Programming language"} |
| 32 |
] |
| 33 |
[[0,0.0,0.0],2] |
| 34 |
select Memos --drilldown[category].table sub_category --drilldown[category].keys _key --drilldown[category].output_columns _key,_nsubrecs --drilldown[sub_category].table category --drilldown[sub_category].keys sub_category --drilldown[sub_category].output_columns _key,_nsubrecs --drilldown[tag].keys tag --drilldown[tag].output_columns _key,_nsubrecs,category |
| 35 |
[ |
| 36 |
[ |
| 37 |
[ |
| 38 |
-22, |
| 39 |
0.0, |
| 40 |
0.0 |
| 41 |
], |
| 42 |
"[select][drilldowns][category][table] cycled dependency: <sub_category>" |
| 43 |
] |
| 44 |
] |
| 45 |
#|e| [select][drilldowns][sub_category][table] cycled dependency: <category> |
| 46 |
#|e| [select][drilldowns][category][table] cycled dependency: <sub_category> |