Debian Codegraph @

test/command/suite/load/vector/cast/string/short_text.expected

raw
1 table_create Data TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Data strings COLUMN_VECTOR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --normalizer NormalizerNFKC130 --default_tokenizer TokenNgram
6 [[0,0.0,0.0],true]
7 column_create Terms data_strings COLUMN_INDEX Data strings
8 [[0,0.0,0.0],true]
9 load --table Data
10 [
11 {"strings": "[\"Hello\", \"World\"]"},
12 {"strings": "[\"Good-bye\", \"World\"]"}
13 ]
14 [[0,0.0,0.0],2]
15 dump --dump_plugins no --dump_schema no
16 load --table Data
17 [
18 ["_id","strings"],
19 [1,["Hello","World"]],
20 [2,["Good-bye","World"]]
21 ]
22
23 column_create Terms data_strings COLUMN_INDEX Data strings
24 select Data --filter 'strings @ "bye"'
25 [
26 [
27 0,
28 0.0,
29 0.0
30 ],
31 [
32 [
33 [
34 1
35 ],
36 [
37 [
38 "_id",
39 "UInt32"
40 ],
41 [
42 "strings",
43 "ShortText"
44 ]
45 ],
46 [
47 2,
48 [
49 "Good-bye",
50 "World"
51 ]
52 ]
53 ]
54 ]
55 ]