test/command/suite/select/columns/flags/vector/multiple.expected
raw| 1 | plugin_register functions/vector |
| 2 | [[0,0.0,0.0],true] |
| 3 | table_create Items TABLE_NO_KEY |
| 4 | [[0,0.0,0.0],true] |
| 5 | column_create Items data COLUMN_SCALAR Int8 |
| 6 | [[0,0.0,0.0],true] |
| 7 | load --table Items |
| 8 | [ |
| 9 | {"data": 1}, |
| 10 | {"data": 2}, |
| 11 | {"data": 3} |
| 12 | ] |
| 13 | [[0,0.0,0.0],3] |
| 14 | select Items --columns[vector].stage initial --columns[vector].flags COLUMN_VECTOR --columns[vector].type UInt32 --columns[vector].value 'vector_new(1, 2, 3)' |
| 15 | [ |
| 16 | [ |
| 17 | 0, |
| 18 | 0.0, |
| 19 | 0.0 |
| 20 | ], |
| 21 | [ |
| 22 | [ |
| 23 | [ |
| 24 | 3 |
| 25 | ], |
| 26 | [ |
| 27 | [ |
| 28 | "_id", |
| 29 | "UInt32" |
| 30 | ], |
| 31 | [ |
| 32 | "vector", |
| 33 | "UInt32" |
| 34 | ], |
| 35 | [ |
| 36 | "data", |
| 37 | "Int8" |
| 38 | ] |
| 39 | ], |
| 40 | [ |
| 41 | 1, |
| 42 | [ |
| 43 | 1, |
| 44 | 2, |
| 45 | 3 |
| 46 | ], |
| 47 | 1 |
| 48 | ], |
| 49 | [ |
| 50 | 2, |
| 51 | [ |
| 52 | 1, |
| 53 | 2, |
| 54 | 3 |
| 55 | ], |
| 56 | 2 |
| 57 | ], |
| 58 | [ |
| 59 | 3, |
| 60 | [ |
| 61 | 1, |
| 62 | 2, |
| 63 | 3 |
| 64 | ], |
| 65 | 3 |
| 66 | ] |
| 67 | ] |
| 68 | ] |
| 69 | ] |