zhangdong1015 opened a new issue, #33838:
URL: https://github.com/apache/superset/issues/33838
### Bug description
When attempting to create ClickHouse cluster tables (Distributed/Replicated
engines) in Superset 5.0.rc3, the operation fails. Standard tables work
correctly, but cluster tables throw errors during dataset creation.
### Screenshots/recordings
CREATE TABLE analytics.moshi_test --
ON CLUSTER cluster_1S_2R (
`appid` String,
`uuid` String,
`time` String,
`server_id` Int64
) ENGINE = ReplicatedMergeTree
ORDER BY (appid, uuid, time)
ClickHouse Error: clickhouse error: <class 'sqlglot.expressions.OnCluster'>
This may be triggered by:
Issue 1002 - The database returned an unexpected error.
### Superset version
master / latest-dev
### Python version
3.10
### Node version
18 or greater
### 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]