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.
[opt](mtmv) Support rewrite when mv has date_trunc but query not
- Loading branch information
Showing
5 changed files
with
822 additions
and
71 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
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
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
143 changes: 143 additions & 0 deletions
143
regression-test/data/nereids_rules_p0/mv/date_trunc/mv_with_date_trunc.out
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,143 @@ | ||
-- This file is automatically generated. You should know what you did if you want to edit this | ||
-- !query1_0_before -- | ||
b 3 | ||
|
||
-- !query1_0_after -- | ||
b 3 | ||
|
||
-- !query1_1_before -- | ||
b 3 | ||
|
||
-- !query1_1_after -- | ||
b 3 | ||
|
||
-- !query1_2_before -- | ||
b 1 | ||
|
||
-- !query1_2_after -- | ||
b 1 | ||
|
||
-- !query1_3_before -- | ||
b 18 | ||
|
||
-- !query1_3_after -- | ||
b 18 | ||
|
||
-- !query1_4_before -- | ||
b 18 | ||
|
||
-- !query1_4_after -- | ||
b 18 | ||
|
||
-- !query1_5_before -- | ||
b 18 | ||
|
||
-- !query1_5_after -- | ||
b 18 | ||
|
||
-- !query1_6_before -- | ||
b 15 | ||
|
||
-- !query1_6_after -- | ||
b 15 | ||
|
||
-- !query1_7_before -- | ||
b 15 | ||
|
||
-- !query1_7_after -- | ||
b 15 | ||
|
||
-- !query1_8_before -- | ||
b 6 | ||
|
||
-- !query1_8_after -- | ||
b 6 | ||
|
||
-- !query1_9_before -- | ||
b 6 | ||
|
||
-- !query1_9_after -- | ||
b 6 | ||
|
||
-- !query1_10_before -- | ||
b 21 | ||
d 3 | ||
|
||
-- !query1_10_after -- | ||
b 21 | ||
d 3 | ||
|
||
-- !query1_11_before -- | ||
b 21 | ||
d 3 | ||
|
||
-- !query1_11_after -- | ||
b 21 | ||
d 3 | ||
|
||
-- !query1_12_before -- | ||
b 6 | ||
|
||
-- !query1_12_after -- | ||
b 6 | ||
|
||
-- !query1_13_before -- | ||
b 6 | ||
|
||
-- !query1_13_after -- | ||
b 6 | ||
|
||
-- !query1_14_before -- | ||
b 24 | ||
d 3 | ||
|
||
-- !query1_14_after -- | ||
b 24 | ||
d 3 | ||
|
||
-- !query1_15_before -- | ||
b 24 | ||
d 3 | ||
|
||
-- !query1_15_after -- | ||
b 24 | ||
d 3 | ||
|
||
-- !query2_0_before -- | ||
b 6 | ||
|
||
-- !query2_0_after -- | ||
b 6 | ||
|
||
-- !query2_1_before -- | ||
|
||
-- !query2_1_after -- | ||
|
||
-- !query2_2_before -- | ||
b 18 | ||
|
||
-- !query2_2_after -- | ||
b 18 | ||
|
||
-- !query2_3_before -- | ||
b 18 | ||
|
||
-- !query2_3_after -- | ||
b 18 | ||
|
||
-- !query3_0_before -- | ||
b 15 | ||
d 3 | ||
|
||
-- !query3_0_after -- | ||
b 15 | ||
d 3 | ||
|
||
-- !query3_1_before -- | ||
b 15 | ||
d 3 | ||
|
||
-- !query3_1_after -- | ||
b 15 | ||
d 3 | ||
|
Oops, something went wrong.