docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open shawn0915 opened this issue 7 months ago • 2 comments

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;

shawn0915 avatar May 16 '25 04:05 shawn0915

@breezewish Could you please take a look at this issue? Thanks

Oreoxmt avatar May 16 '25 06:05 Oreoxmt

Thank you, currently this SQL can only be executed for Serverless clusters via SQL command line, instead of Cloud SQL Editor. I will track and improve this experience and will let you know when the fix is arrived.

breezewish avatar May 16 '25 08:05 breezewish