Open killme2008 opened 3 months ago
maybe we should first add a new enum member for Kind
in greptime-proto for expr_factory
to use.
maybe we should first add a new enum member for
Kind
in greptime-proto forexpr_factory
to use.
Yes. A first step.
I think ALTER COLUMN
(or MODIFY COLUMN
) should be better, considering we might have unset
operation. @irenjj @killme2008
ALTER TABLE monitor ALTER COLUMN load_15 SET fulltext WITH (analyzer = 'Chinese', case_sensitive = 'false');
ALTER TABLE monitor ALTER COLUMN load_15 UNSET fulltext;
Instead of
ALTER TABLE monitor UNSET COLUMN load_15 fulltext;
I think
ALTER COLUMN
(orMODIFY COLUMN
) should be better, considering we might haveunset
operation. @irenjj @killme2008ALTER TABLE monitor ALTER COLUMN load_15 SET fulltext WITH (analyzer = 'Chinese', case_sensitive = 'false');
ALTER TABLE monitor ALTER COLUMN load_15 UNSET fulltext;
Instead of
ALTER TABLE monitor UNSET COLUMN load_15 fulltext;
I agree.
Don't add new syntax, keep using modify column [set | unset]
.
What problem does the new feature solve?
since v0.9, GreptimeDB supports full-text index for string columns with the extra
fulltext
option:But if you can't enable an existing string column
fulltext
option by alter.What does the feature do?
It already has the
modify
statement to change the column type:Supports alter column options just like:
Implementation challenges
No response