zhangdong1015 opened a new issue, #33813:
URL: https://github.com/apache/superset/issues/33813
### Bug description
We are getting an error in Superset when using ClickHouse:
"SupersetError(message='clickhouse error: <class
'sqlglot.expressions.OnCluster'>', ...)"
SQL is here:
CREATE TABLE mysy.dim_anchor_id --
ON CLUSTER cluster_1S_2R --
(
`anchor_id` String,
`anchor_name` String,
`institution` String
) ENGINE = S3(
'https://seayoo-analytics.s3.cn-northwest-1.amazonaws.com.cn/analytics/jenkins/mysy/dim_anchor_id.csv',
'CSV'
) SETTINGS input_format_csv_skip_first_lines = 1;
### Screenshots/recordings

### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]