Debian Codegraph @

test/command/suite/index_column_diff/reference.expected

raw
1 table_create Values TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Data value COLUMN_SCALAR Values
6 [[0,0.0,0.0],true]
7 column_create Values data_index COLUMN_INDEX Data value
8 [[0,0.0,0.0],true]
9 load --table Data
10 [
11 {"value": "Hello World"},
12 {"value": "Hello Groonga"}
13 ]
14 [[0,0.0,0.0],2]
15 truncate Values.data_index
16 [[0,0.0,0.0],true]
17 load --table Data
18 [
19 {"value": "Good-by World"},
20 {"value": "Good-by Groonga"},
21 {}
22 ]
23 [[0,0.0,0.0],3]
24 index_column_diff Values data_index
25 [
26 [
27 0,
28 0.0,
29 0.0
30 ],
31 [
32 {
33 "token": {
34 "id": 1,
35 "value": "Hello World"
36 },
37 "remains": [],
38 "missings": [
39 {
40 "record_id": 1
41 }
42 ]
43 },
44 {
45 "token": {
46 "id": 2,
47 "value": "Hello Groonga"
48 },
49 "remains": [],
50 "missings": [
51 {
52 "record_id": 2
53 }
54 ]
55 }
56 ]
57 ]