Skip to content

Commit

Permalink
DRILL-7038: Added tests to verify that scan is not happening when onl…
Browse files Browse the repository at this point in the history
…y partition is being selected (#580)
  • Loading branch information
agozhiy authored and agirish committed Apr 18, 2019
1 parent 0c07fc7 commit 7bf960c
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1993
1994
1995
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
select distinct dir0 from dfs.drillTestDir.`/partition_pruning/dfs/orders`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1993
1994
1995
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;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Values.*\[\{ '1994' \}, \{ '1993' \}, \{ '1995' \}\]
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`;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Values.*\[\{ '1994' \}, \{ '1993' \}, \{ '1995' \}\]
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;

0 comments on commit 7bf960c

Please sign in to comment.