Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shawn0915 opened this issue May 16, 2025 · 2 comments
Open

Comments

@shawn0915
Copy link
Contributor

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;
@Oreoxmt
Copy link
Collaborator

Oreoxmt commented May 16, 2025

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

@breezewish
Copy link
Member

breezewish commented May 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants