| 1 |
plugin_register functions/string |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Memos TABLE_HASH_KEY ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
load --table Memos |
| 6 |
[ |
| 7 |
{"_key": "Groonga"} |
| 8 |
] |
| 9 |
[[0,0.0,0.0],1] |
| 10 |
select Memos --output_columns '_key, string_truncate(_key, 0, { "unknown_option" : 2 })' |
| 11 |
[ |
| 12 |
[ |
| 13 |
[ |
| 14 |
-22, |
| 15 |
0.0, |
| 16 |
0.0 |
| 17 |
], |
| 18 |
"[string_truncate][options][parse] unknown option names: <unknown_option>: #<table:hash (nil) key:ShortText value:(nil) size:1 c" |
| 19 |
], |
| 20 |
[ |
| 21 |
[ |
| 22 |
[ |
| 23 |
1 |
| 24 |
], |
| 25 |
[ |
| 26 |
[ |
| 27 |
"_key", |
| 28 |
"ShortText" |
| 29 |
], |
| 30 |
[ |
| 31 |
"string_truncate", |
| 32 |
null |
| 33 |
] |
| 34 |
], |
| 35 |
[ |
| 36 |
"Groonga", |
| 37 |
"[string_truncate][options][parse] unknown option names: <unknown_option>: #<table:hash (nil) key:ShortText value:(nil) size:1 c" |
| 38 |
] |
| 39 |
] |
| 40 |
] |
| 41 |
] |
| 42 |
#|e| [string_truncate][options][parse] unknown option names: <unknown_option>: #<table:hash (nil) key:ShortText value:(nil) size:1 columns:[] extractors:(nil) normalizers:(nil) default_tokenizer:(nil) token_filters:(nil) keys:["unknown_option"] subrec:none> |