test/command/suite/select/columns/flags/vector/multiple.test
raw| 1 | plugin_register functions/vector |
| 2 | |
| 3 | table_create Items TABLE_NO_KEY |
| 4 | column_create Items data COLUMN_SCALAR Int8 |
| 5 | |
| 6 | load --table Items |
| 7 | [ |
| 8 | {"data": 1}, |
| 9 | {"data": 2}, |
| 10 | {"data": 3} |
| 11 | ] |
| 12 | |
| 13 | select Items \ |
| 14 | --columns[vector].stage initial \ |
| 15 | --columns[vector].flags COLUMN_VECTOR \ |
| 16 | --columns[vector].type UInt32 \ |
| 17 | --columns[vector].value 'vector_new(1, 2, 3)' |