CREATE TABLE tags (
name VARCHAR(64) PRIMARY KEY COLLATE 'utf8mb4_general_ci'
) DEFAULT CHARSET=utf8mb4;
CREATE TABLE bugs (
tags TEXT COMMENT 'flags "COLUMN_VECTOR|MISSING_IGNORE", type "tags"'
) DEFAULT CHARSET=utf8mb4;
INSERT INTO tags VALUES ('existent1'), ('existent2');
INSERT INTO bugs VALUES ('["existent1", "nonexistent", "existent2"]');
SELECT mroonga_command('dump --dump_plugins no');
mroonga_command('dump --dump_plugins no')
table_create bugs TABLE_NO_KEY

table_create mroonga_operations TABLE_NO_KEY
column_create mroonga_operations record COLUMN_SCALAR UInt32
column_create mroonga_operations table COLUMN_SCALAR ShortText
column_create mroonga_operations type COLUMN_SCALAR ShortText

table_create tags TABLE_PAT_KEY ShortText --normalizer NormalizerMySQLGeneralCI
column_create tags name COLUMN_SCALAR ShortText

column_create bugs tags COLUMN_VECTOR|MISSING_IGNORE tags

load --table tags
[
["_key","name"],
["EXISTENT1","existent1"],
["EXISTENT2","existent2"]
]

load --table bugs
[
["_id","tags"],
[1,["EXISTENT1","EXISTENT2"]]
]
SELECT * FROM bugs;
tags
["EXISTENT1","EXISTENT2"]
SELECT * FROM tags;
name
existent1
existent2
DROP TABLE bugs;
DROP TABLE tags;
