test/command/suite/select/function/string/string_tokenize/mode.test
raw| 1 | plugin_register functions/string |
| 2 | |
| 3 | table_create Lexicon TABLE_PAT_KEY ShortText \ |
| 4 | --normalizer NormalizerNFKC121 \ |
| 5 | --default_tokenizer TokenNgram |
| 6 | |
| 7 | table_create Memos TABLE_HASH_KEY ShortText |
| 8 | |
| 9 | load --table Memos |
| 10 | [ |
| 11 | {"_key": "ぐるんが"} |
| 12 | ] |
| 13 | |
| 14 | select Memos \ |
| 15 | --output_columns '_key, string_tokenize(_key, Lexicon, {"mode": "ADD"})' |