CREATE TABLE ... ENGINE=ReplicatedMergeTree AS (SELECT...) cannot work correctly
#42952
Unanswered
Alex-Cheng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a cluster with several replicas and I try to create ReplicatedMergeTree tables with a subquery, aka.
CREATE TABLE ... ENGINE=ReplicatedMergeTree AS (SELECT...). For consistency, I setinsert_quorum = <number of replicas>.However, it does not work correctly, wheninsert_quorum_parallel=0I got an exception, and wheninsert_quorum_parallel=1the SQL statement does not throw exception but the succeedant dependent SQL fails.I analyzed the issue should be caused by the following reasons:
Is my analysis correct and how could I get rid of it?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions