-
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
Crash when selecting with FINAL and PREWHERE from table with ReplacingMergeTree engine #2525
Comments
ready test:
broken in 66b94d4 |
confirm, same issue, if the query contains FINAL and PREWHERE:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment:
Version: v1.1.54385-testing
Git hash: ba48e31
Docker image: sha256:2f64d4c08bbb10b415dac1ba78db82b0ef05b20b2b60dd0dd273a678964ae5ce
Can be reproduced on earlier builds too, but works well in:
Version: v1.1.54342-testing
Docker image: sha256:e4af84ec8e1a610e6b9aaef7c51135cbe017fdaca80170ee4b96d0d14086196f_
Create table and fill it with some data:
Request data with FINAL modifier and PREWHERE condition, which should return empty result set:
ClickHouse server crashes with the following stacktrace:
If you omit FINAL modifier or use WHERE instead of PREWHERE or use condition which will return non-empty result set, then server will not crash.
See attached files for full log:
clickhouse-server.log
clickhouse-server.err.log
The text was updated successfully, but these errors were encountered: