Hi all 👋
PR:
github.com/StarRocks/starrocks/pull/82538
Issue:
github.com/StarRocks/starrocks/issues/82537
What it fixes (FE optimizer, StatisticsCalculator / MetadataMgr):
• The "partition predicate already applied" decision used one flag for the whole query, so a
list-partitioned OLAP table's estimate changed (1,000 → 500) when another table in the query
had ANALYZE stats.
• Delta Lake scans re-applied the partition predicate on top of the metadata row count: ½ per
condition, and 1 row with enable_delta_lake_column_statistics=true.
Small change (~25 lines + tests), unit tests and checkstyle pass, backport labels 4.0/4.1/4.2.
It's my first PR here, so the auto reviewer assignment skipped it and the CI runs
(CI PIPELINE, SQL-Tester) are waiting for maintainer approval. Could a maintainer please
approve the workflow runs and assign a reviewer from the optimizer side? Thanks!