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
Partition pruning does not work on DateTime columns when toDate function is applied #15255
Labels
Comments
Seems this one is fixed for 20.7.3.7 https://t.me/clickhouse_ru/183597 |
or 20.9... https://t.me/clickhouse_ru/183624 |
Still broken in 20.7, but it seems fixed in 20.8, probably that pr
|
den-crane
added
v20.7-affected
st-fixed
and removed
bug
Confirmed user-visible misbehaviour in official release
labels
Sep 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Partition pruning does not work on DateTime columns when toDate function is applied and number of distinct values of partition column in partition are more than 1 (those partitions are not eliminated, others are eliminated.
How to reproduce
Expected behavior
Check processed row counts:
Additional context
Without typecasting it works correctly.
The text was updated successfully, but these errors were encountered: