forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add regression case: disable join reorder if there are invalid stats
- Loading branch information
Showing
2 changed files
with
95 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
-- This file is automatically generated. You should know what you did if you want to edit this | ||
-- !reorder_1 -- | ||
PhysicalResultSink | ||
--PhysicalProject | ||
----hashJoin[INNER_JOIN broadcast] hashCondition=((region.r_regionkey = nation.n_regionkey)) otherCondition=() | ||
------PhysicalProject | ||
--------PhysicalOlapScan[nation] | ||
------PhysicalProject | ||
--------PhysicalOlapScan[region] | ||
|
||
-- !ndv_min_max_invalid -- | ||
PhysicalResultSink | ||
--PhysicalProject | ||
----hashJoin[INNER_JOIN broadcast] hashCondition=((region.r_regionkey = nation.n_regionkey)) otherCondition=() | ||
------PhysicalProject | ||
--------PhysicalOlapScan[region] | ||
------PhysicalProject | ||
--------PhysicalOlapScan[nation] | ||
|
||
-- !reorder_2 -- | ||
PhysicalResultSink | ||
--PhysicalProject | ||
----hashJoin[INNER_JOIN broadcast] hashCondition=((region.r_regionkey = nation.n_regionkey)) otherCondition=() | ||
------PhysicalProject | ||
--------PhysicalOlapScan[nation] | ||
------PhysicalProject | ||
--------PhysicalOlapScan[region] | ||
|
||
-- !order_3 -- | ||
PhysicalResultSink | ||
--PhysicalProject | ||
----hashJoin[INNER_JOIN broadcast] hashCondition=((region.r_regionkey = nation.n_regionkey)) otherCondition=() | ||
------PhysicalProject | ||
--------PhysicalOlapScan[nation] | ||
------PhysicalProject | ||
--------PhysicalOlapScan[region] | ||
|
||
-- !ndv_row_invalid -- | ||
PhysicalResultSink | ||
--PhysicalProject | ||
----hashJoin[INNER_JOIN broadcast] hashCondition=((region.r_regionkey = nation.n_regionkey)) otherCondition=() | ||
------PhysicalProject | ||
--------PhysicalOlapScan[region] | ||
------PhysicalProject | ||
--------PhysicalOlapScan[nation] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters