ClickHouse
ClickHouse copied to clipboard
23.8 Backports of #56502 and #58638 - Fix projection analysis
Changelog category (leave one):
- Bug Fix (user-visible misbehavior in an official stable release)
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Projection analysis now comes after partition pruning, resulting in better plan efficiency and better statistic log (#56502 by @amosbird)
Fix broken partition key analysis when doing projection optimization with force_index_by_date = 1
(#58638 by @amosbird)