Skip to content

full text index: Parsing sql failed, near "ADD_COLUMNAR_REPLICA_ON_DEMAND;" #20964

@shawn0915

Description

@shawn0915

Error Report

Please answer the following questions before submitting your issue. Thanks!

  1. What is the URL/path of the document related to this issue?

https://docs.pingcap.com/tidbcloud/vector-search-full-text-search-sql/

create table t_text (id int, ct text);
alter table t_text add fulltext index(ct) WITH PARSER MULTILINGUAL ADD_COLUMNAR_REPLICA_ON_DEMAND;

report error:

Parsing sql failed, Please check if sql syntax is correct, line 1 column 97 near "ADD_COLUMNAR_REPLICA_ON_DEMAND;" 
  1. How would you like to improve it?

but this work:

ALTER TABLE t_text
SET TIFLASH REPLICA 2;

alter table t_text add fulltext index(ct) WITH PARSER MULTILINGUAL;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions