Debian Codegraph @

test/command/suite/column_create/vector/source/offline/parallel.test

raw
1 #@require-apache-arrow
2 #$GRN_TOKEN_COLUMN_PARALLEL_TABLE_SIZE_THRESHOLD=1
3 #$GRN_TOKEN_COLUMN_PARALLEL_CHUNK_SIZE=2
4
5 table_create Terms TABLE_PAT_KEY ShortText \
6 --normalizer NormalizerNFKC121 \
7 --default_tokenizer TokenNgram
8
9 table_create Notes TABLE_NO_KEY
10 column_create Notes title COLUMN_SCALAR Text
11
12 load --table Notes
13 [
14 {"title": "Hello Groonga"},
15 {"title": " "},
16 {"title": "Hello Mroonga"},
17 {"title": "Hello Rroonga"}
18 ]
19
20 column_create Notes title_terms COLUMN_VECTOR Terms title
21
22 select Notes \
23 --query _id:2 \
24 --output_columns title_terms
25
26 dump
27
28 column_create Terms notes_title COLUMN_INDEX|WITH_POSITION Notes title
29 index_column_diff Terms notes_title