test/command/suite/load/invalid/in_mid_bracket/vector.test
raw| 1 | #@require-input-type json |
| 2 | |
| 3 | table_create Tags TABLE_HASH_KEY ShortText |
| 4 | |
| 5 | table_create Users TABLE_HASH_KEY ShortText |
| 6 | column_create Users name COLUMN_SCALAR ShortText |
| 7 | column_create Users cards COLUMN_VECTOR UInt8 |
| 8 | column_create Users tags COLUMN_VECTOR Tags |
| 9 | |
| 10 | column_create Tags usrs_tags COLUMN_INDEX Users tags |
| 11 | |
| 12 | load --table Users |
| 13 | [ |
| 14 | ["_key", "name", "cards", "tags"], |
| 15 | ["alice", "Alice", [1, "GARBAGE", 3], ["girl", "wonder"]] |
| 16 | ] |
| 17 | |
| 18 | select Users |