test/command/suite/column_create/vector/source/offline/generator_scalar.test
raw| 1 | table_create Notes TABLE_NO_KEY |
| 2 | column_create Notes title_html COLUMN_SCALAR ShortText |
| 3 | |
| 4 | load --table Notes |
| 5 | [ |
| 6 | {"title_html": "Hello <em>Groonga</em>"}, |
| 7 | {"title_html": "<i>Hello</i> <em>Mroonga</em>"} |
| 8 | ] |
| 9 | |
| 10 | column_create Notes title_text COLUMN_SCALAR ShortText title_html \ |
| 11 | --generator 'html_untag(title_html)' |
| 12 | |
| 13 | select Notes --output_columns title_html,title_text |
| 14 | |
| 15 | dump |