-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Block structure mismatch in MergingSorted stream #3162
Comments
We are experiencing a similar issue, using the same ClickHouse version (18.12.17). We are running a multi-tenant setup with separate databases, all having the same tables. The issue occurs on different databases, but thus far only with the below specific query (according to our logs). We have checked local / distributed tables, and order of columns are in sync. ClickHouse is being queried via HTTP, resulting in the following error:
Looking at the order of columns, there is indeed a difference it seems:
Please let me know if more information is required to further analyse this issue. |
Hi,
The following select will then trigger the bug:
Here is also a full debug log produced by the above query:
I tested the above example with 18.14.10 (using the docker container). It still shows the same error. |
Can you provide your cluster config or test it yourself on 18.14.11? This error seems to be fixed. Currently I can't reproduce it. |
The bug is still there with the clickhouse docker image 18.14.11. My cluster.xml (for node-1):
(I'm not sure if the zookeeper part is really needed because in the example no Replicated engines are used). Another observation: When disabling optimize_move_to_prewhere (via |
Confirm for 18.14.11 - not fixed. |
Repoduced issue with test https://github.com/yandex/ClickHouse/pull/3534/files |
Fix was released in v18.14.13 |
Hello, we also plan to adopt a multi-tenant setup with separate databases, which involves connection and routing management. Is there a middleware that is easy to use? thanks a lot |
Clickhouse server version 18.12.17
Query to distributed table sometimes fails with error:
Error appears only for specific WHERE values and only when TrafficSourceID column is included in query. Same query to underlying ReplicatedMergeTree table succeeds on every instance of cluster.
The text was updated successfully, but these errors were encountered: