-
Notifications
You must be signed in to change notification settings - Fork 546
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
c.c.jdbc.parser.ClickHouseSqlParser - Parse error #2009
Comments
In my Spring Boot project, I am using ClickHouse to first clear the table data and then insert data into it. However, when executing the statement to clear the table, I received a "Parse error." |
Good day, @KeKeValue ! Thanks! |
My intention is to clear the data of one local table on a specific ClickHouse cluster. So, I executed the following SQL: |
Since the cluster names are different in each environment, I have configured the corresponding cluster names in the configuration files for both QAS and PRD environments. When executing the SQL, I use a placeholder to dynamically select the appropriate cluster name for QAS or PRD environments. |
@chernser brother, can you help me take a look at this issue |
c.c.jdbc.parser.ClickHouseSqlParser - Parse error at line 1, column 47. Encountered: ?. If you believe the SQL is valid, please feel free to open an issue on Github with this warning and the following SQL attached.
TRUNCATE TABLE shanhu_subject_info on cluster ?
The text was updated successfully, but these errors were encountered: