-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-7038: Added tests to verify that scan is not happening when onl…
…y partition is being selected (#580)
- Loading branch information
Showing
8 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...rk/resources/Functional/partition_pruning/dfs/parquet/data/DRILL_7038_dir0_distinct.e_tsv
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,3 @@ | ||
1993 | ||
1994 | ||
1995 |
1 change: 1 addition & 0 deletions
1
...work/resources/Functional/partition_pruning/dfs/parquet/data/DRILL_7038_dir0_distinct.sql
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 @@ | ||
select distinct dir0 from dfs.drillTestDir.`/partition_pruning/dfs/orders`; |
3 changes: 3 additions & 0 deletions
3
...rk/resources/Functional/partition_pruning/dfs/parquet/data/DRILL_7038_dir0_group_by.e_tsv
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,3 @@ | ||
1993 | ||
1994 | ||
1995 |
1 change: 1 addition & 0 deletions
1
...work/resources/Functional/partition_pruning/dfs/parquet/data/DRILL_7038_dir0_group_by.sql
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 @@ | ||
select dir0 from dfs.drillTestDir.`/partition_pruning/dfs/orders` group by dir0; |
1 change: 1 addition & 0 deletions
1
...sources/Functional/partition_pruning/dfs/parquet/plan/regex/DRILL_7038_dir0_distinct.plan
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 @@ | ||
Values.*\[\{ '1994' \}, \{ '1993' \}, \{ '1995' \}\] |
1 change: 1 addition & 0 deletions
1
.../Functional/partition_pruning/dfs/parquet/plan/regex/DRILL_7038_dir0_distinct.sql.explain
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 @@ | ||
explain plan for select distinct dir0 from dfs.drillTestDir.`/partition_pruning/dfs/orders`; |
1 change: 1 addition & 0 deletions
1
...sources/Functional/partition_pruning/dfs/parquet/plan/regex/DRILL_7038_dir0_group_by.plan
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 @@ | ||
Values.*\[\{ '1994' \}, \{ '1993' \}, \{ '1995' \}\] |
1 change: 1 addition & 0 deletions
1
.../Functional/partition_pruning/dfs/parquet/plan/regex/DRILL_7038_dir0_group_by.sql.explain
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 @@ | ||
explain plan for select dir0 from dfs.drillTestDir.`/partition_pruning/dfs/orders` group by dir0; |