test/command/suite/load/invalid/in_mid_brace/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": "alice", "name": "Alice", "cards": [1, "GARBAGE", 3], "tags": ["girl", "wonder"]} |
| 15 | ] |
| 16 | |
| 17 | select Users |