test/command/suite/load/vector/reference/missing_add/object/empty.test
raw| 1 | #@require-input-type json |
| 2 | |
| 3 | table_create Tags TABLE_HASH_KEY ShortText --normalizer NormalizerAuto |
| 4 | |
| 5 | table_create Data TABLE_NO_KEY |
| 6 | column_create Data tags COLUMN_VECTOR|WITH_WEIGHT|MISSING_ADD Tags |
| 7 | |
| 8 | load --table Tags |
| 9 | [ |
| 10 | {"_key": "existent"} |
| 11 | ] |
| 12 | |
| 13 | load --table Data |
| 14 | [ |
| 15 | {"tags": {"existent": 1, "": 2, "nonexistent": 3}} |
| 16 | ] |
| 17 | |
| 18 | dump |