| 1 |
table_create Items TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Items prices COLUMN_VECTOR UInt16 |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
load --table Items |
| 6 |
[ |
| 7 |
{"_key": "Groonga book", "prices": [1029, 2029]} |
| 8 |
] |
| 9 |
[[0,0.0,0.0],1] |
| 10 |
column_rename Items prices new_prices |
| 11 |
[[0,0.0,0.0],true] |
| 12 |
select Items |
| 13 |
[ |
| 14 |
[ |
| 15 |
0, |
| 16 |
0.0, |
| 17 |
0.0 |
| 18 |
], |
| 19 |
[ |
| 20 |
[ |
| 21 |
[ |
| 22 |
1 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
"_id", |
| 27 |
"UInt32" |
| 28 |
], |
| 29 |
[ |
| 30 |
"_key", |
| 31 |
"ShortText" |
| 32 |
], |
| 33 |
[ |
| 34 |
"new_prices", |
| 35 |
"UInt16" |
| 36 |
] |
| 37 |
], |
| 38 |
[ |
| 39 |
1, |
| 40 |
"Groonga book", |
| 41 |
[ |
| 42 |
1029, |
| 43 |
2029 |
| 44 |
] |
| 45 |
] |
| 46 |
] |
| 47 |
] |
| 48 |
] |