Debian Codegraph @

test/command/suite/index_column_diff/reference_vector.test

raw
1 table_create Values TABLE_HASH_KEY ShortText
2
3 table_create Data TABLE_NO_KEY
4 column_create Data values COLUMN_VECTOR Values
5
6 column_create Values data_index COLUMN_INDEX|WITH_SECTION Data values
7
8 load --table Data
9 [
10 {"values": ["Hello World", "Good-by World"]},
11 {"values": ["Hello Groonga", "Good-by Groonga"]}
12 ]
13
14 truncate Values.data_index
15
16 load --table Data
17 [
18 {"values": ["Morning World", "Afternoon World"]},
19 {"values": ["Morning Groonga", "Afternoon World"]},
20 {"values": ["Duplicated", "Duplicated"]}
21 ]
22
23 index_column_diff Values data_index