Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[fix](stats) Scale column null counts when estimating filter predicates
What problem does this PR solve? Issue Number: N/A Related PR: N/A Problem Summary: FilterEstimation reduces the row count of the estimated Statistics for every conjunct, but the null counts of the columns were only clamped to the new row…
Apache Doris#69817 · by englefly - Merged PR[feature](HBO) Add history-based optimizer statistics with structural struct-info keys
History-based optimizer statistics for the nereids planner What problem does this solve? The nereids optimizer estimates a plan from catalog statistics alone, so a query whose data distribution or predicate selectivity the catalog cannot…
Apache Doris#69322 · by englefly - Merged PR[opt](be) Skip re-sorting scan conjuncts on empty runtime filter checks
Background Scan operators collect available runtime filters during initialization and check for additional filters when a scanner runs. A scan local state shares its residual conjuncts across scanners. Each scanner clones those expressions…
Apache Doris#70795 · by englefly - Merged PR[fix](rbo) Fix ExprId renaming during constant propagation
What problem does this PR solve? Issue Number: None Related PR: #69111 Problem Summary: Constant propagation materializes a constant above the aggregate or the project which defines a column. The materialized item is a literal, which is…
Apache Doris#69784 · by englefly - Merged PR[fix](profile) Shallow-copy profile plans and deduplicate column statistics
Background Nereids query profiles retain a physical plan to display estimated and actual row counts. They also print scan column statistics in the profile appendix. What problem does this PR solve? Issue Number: None Related PR: None PR…
Apache Doris#70332 · by englefly - Merged PR[fix](build) Compile TPC-DS and TPC-H tools with the GNU89 C dialect
Background TPC-DS and TPC-H tools are built from the upstream TPC-DS 3.2.0 and TPC-H 3.0.0 source archives. What problem does this PR solve? Issue Number: None Related PR: None PR Type: Bugfix Problem Summary: GCC 15 rejects legacy…
Apache Doris#70663 · by englefly - Merged PR[fix](topn) Guard TopN filters across Repeat and AssertNumRows
What problem does this PR solve? Issue Number: N/A Related PR: #70100 Problem Summary: A TopN runtime filter above UNION ALL can reach scans below operators that synthesize NULLs. Another UNION branch can publish a bound before those scans…
Apache Doris#70194 · by englefly - Merged PRbranch-4.2 [fix](topn-filter) Prevent unsafe TopN filter pushdown through outer joins
What problem does this PR solve? Issue Number: N/A Related PR: #70100 Backport #70100 (commit b5c622238a8d25369278381222b8937cde43b362) to branch-4.2. Prevent TopN runtime filters from removing matching rows on null-generating outer join…
Apache Doris#70106 · by englefly - Merged PRbranch-4.2 [fix](nereids) Disable CTE inline by default
What problem does this PR solve? Related PR: #68211 (branch-4.2), #60601 (master) Problem Summary: #68211 introduced the multi-mode CTE inline strategy and made cte_inline_mode = 0 (selective inline) the default. With that default the plan…
Apache Doris#70053 · by englefly - Merged PR[fix](MV) Accept constant query outputs when matching a materialized view
What problem does this PR solve? Issue Number: None Problem Summary: The materialized view rewrite keeps a query output which is a constant as it is, because the view does not have to output that column, but it only recognized a bare…
Apache Doris#69787 · by englefly - Merged PR[fix](statistics) Create the table stats record when a load finishes
An alternative implementation of the fix discussed in #68282, with a much smaller change: instead of keeping and resetting the statistics record across TRUNCATE TABLE (which also had to order every record transition with its journal…
Apache Doris#69028 · by englefly - Merged PRbranch-4.2 [fix](regression) Stabilize COUNT pushdown assertions in test_pushdown_explain
What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: test_pushdown_explain asserts that the plan of select count(1) - count(lo_shipmode) from test_lineorder contains pushAggOp=COUNT. lo_shipmode is…
Apache Doris#69687 · by englefly - Merged PRbranch-4.1 [fix](regression) Stabilize COUNT pushdown assertions in test_pushdown_explain
What problem does this PR solve? Issue Number: N/A Problem Summary: test_pushdown_explain asserts that the plan of select count(1) - count(lo_shipmode) from test_lineorder contains pushAggOp=COUNT. lo_shipmode is NOT NULL, so this…
Apache Doris#69641 · by englefly - Merged PR[fix](fe) Do not scale numNulls of partition statistics again
What problem does this PR solve? Problem Summary: When only a subset of partitions is selected, StatsCalculator.computeOlapScan scales numNulls of the column statistics by selectedPartitionsRowCount / tableRowCount, because the table level…
Apache Doris#69636 · by englefly - Merged PRbranch-4.1 [improvement](statistics) Stop collecting hot value in the linear sample estimator (#69209)
What problem does this PR solve? Pick #69209 from master to branch-4.1 (squash commit a1a93fc4302, cherry-picked as b75aadfbb26). LINEAR_ANALYZE_TEMPLATE collected hot values in a third CTE: it grouped the sampled column by value, counted…
Apache Doris#69379 · by englefly