doris icon indicating copy to clipboard operation
doris copied to clipboard

[feat](nereids)disable join reorder if column stats is invalid

Open englefly opened this issue 1 year ago • 5 comments

Proposed changes

disable join reorder if any condition is matched:

  1. any table row count is -1
  2. any column, whose ndv is 0, but MinExpr or MaxExpr is not null

Issue Number: close #xxx

englefly avatar Oct 14 '24 06:10 englefly

Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website. See Doris Document.

doris-robot avatar Oct 14 '24 06:10 doris-robot

run buildall

englefly avatar Oct 14 '24 07:10 englefly

run buildall

englefly avatar Oct 14 '24 08:10 englefly

run buildall

englefly avatar Oct 15 '24 06:10 englefly

run buildall

englefly avatar Oct 15 '24 08:10 englefly

run buildall

englefly avatar Oct 21 '24 09:10 englefly

run p0

englefly avatar Oct 21 '24 11:10 englefly

run cloud_p0

englefly avatar Oct 21 '24 11:10 englefly

LGTM. Better to add a test case.

cases are appended to nereids_p0/stats/column_stats.groovy

englefly avatar Oct 21 '24 11:10 englefly

run buildall

englefly avatar Oct 22 '24 01:10 englefly

run buildall

englefly avatar Oct 22 '24 11:10 englefly

run buildall

englefly avatar Oct 23 '24 02:10 englefly

run buildall

englefly avatar Oct 23 '24 03:10 englefly

run buildall

englefly avatar Oct 23 '24 03:10 englefly

run buildall

englefly avatar Oct 23 '24 11:10 englefly

run buildall

englefly avatar Oct 24 '24 03:10 englefly

PR approved by anyone and no changes requested.

github-actions[bot] avatar Oct 24 '24 03:10 github-actions[bot]

run buildall

englefly avatar Oct 24 '24 07:10 englefly

run buildall

englefly avatar Oct 25 '24 09:10 englefly

run buildall

englefly avatar Oct 25 '24 15:10 englefly

run p0

englefly avatar Oct 26 '24 02:10 englefly

PR approved by at least one committer and no changes requested.

github-actions[bot] avatar Oct 28 '24 01:10 github-actions[bot]