-
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-6865: Added tests to verify the bug fix. (#524)
Cases covered: 1. Filter pruning shouldn't work if at least one filter cannot be pruned ('like' operator or expression on a column). 2. Filter pruning should work in case of single parquet file with single row group.
- Loading branch information
Showing
268 changed files
with
416 additions
and
351 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...ources/Datasources/parquet_storage/DRILL-6118/DRILL_6118_parquet_partitioned_by_files.ddl
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
create table if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_files` (c1, c2, c3, c4, c5) | ||
create table if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_files` (c1, c2, c3, c4, c5) | ||
partition by (c1) as | ||
select cast(columns[0] as int) c1, columns[1] c2, columns[2] c3, columns[3] c4, columns[4] c5 | ||
from dfs.drillTestDir.`parquet_storage/DRILL_6118/DRILL_6118_data_source.csv`; | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_data_source.csv`; | ||
|
||
create view if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_files_view` as | ||
create view if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_files_view` as | ||
select * | ||
from dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_files`; | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_files`; |
16 changes: 8 additions & 8 deletions
16
...rces/Datasources/parquet_storage/DRILL-6118/DRILL_6118_parquet_partitioned_by_folders.ddl
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
create table if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_folders/d1` (c1, c2, c3, c4, c5) | ||
create table if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_folders/d1` (c1, c2, c3, c4, c5) | ||
as select cast(columns[0] as int) c1, columns[1] c2, columns[2] c3, columns[3] c4, columns[4] c5 | ||
from dfs.drillTestDir.`parquet_storage/DRILL_6118/DRILL_6118_data_source.csv` | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_data_source.csv` | ||
where columns[0] in (1, 3); | ||
create table if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_folders/d2` (c1, c2, c3, c4, c5) | ||
create table if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_folders/d2` (c1, c2, c3, c4, c5) | ||
as select cast(columns[0] as int) c1, columns[1] c2, columns[2] c3, columns[3] c4, columns[4] c5 | ||
from dfs.drillTestDir.`parquet_storage/DRILL_6118/DRILL_6118_data_source.csv` | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_data_source.csv` | ||
where columns[0]=2; | ||
create table if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_folders/d3` (c1, c2, c3, c4, c5) | ||
create table if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_folders/d3` (c1, c2, c3, c4, c5) | ||
as select cast(columns[0] as int) c1, columns[1] c2, columns[2] c3, columns[3] c4, columns[4] c5 | ||
from dfs.drillTestDir.`parquet_storage/DRILL_6118/DRILL_6118_data_source.csv` | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_data_source.csv` | ||
where columns[0]>3; | ||
|
||
create view if not exists dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_folders_view` as | ||
create view if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_folders_view` as | ||
select * | ||
from dfs.drillTestDir.`DRILL_6118_parquet_partitioned_by_folders`; | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_partitioned_by_folders`; |
8 changes: 4 additions & 4 deletions
8
...ources/Datasources/parquet_storage/DRILL-6118/DRILL_6118_parquet_without_partitioning.ddl
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
create table if not exists dfs.drillTestDir.`DRILL_6118_parquet_without_partitioning` (c1, c2, c3, c4, c5) | ||
create table if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_without_partitioning` (c1, c2, c3, c4, c5) | ||
as select cast(columns[0] as int) c1, columns[1] c2, columns[2] c3, columns[3] c4, columns[4] c5 | ||
from dfs.drillTestDir.`parquet_storage/DRILL_6118/DRILL_6118_data_source.csv`; | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_data_source.csv`; | ||
|
||
create view if not exists dfs.drillTestDir.`DRILL_6118_parquet_without_partitioning_view` as | ||
create view if not exists dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_without_partitioning_view` as | ||
select * | ||
from dfs.drillTestDir.`DRILL_6118_parquet_without_partitioning`; | ||
from dfs.drillTestDir.`filter/pushdown/DRILL_6118_parquet_without_partitioning`; |
4 changes: 2 additions & 2 deletions
4
...sources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_eq_false.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...esources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_eq_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 = false; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 = false; |
2 changes: 1 addition & 1 deletion
2
.../Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_eq_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 = false; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 = false; |
2 changes: 1 addition & 1 deletion
2
...al/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_false_and_is_not_null.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
numFiles=1 | ||
numRowGroups=1 |
2 changes: 1 addition & 1 deletion
2
...nal/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_false_and_is_not_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 = false and c3 is not null; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 = false and c3 is not null; |
2 changes: 1 addition & 1 deletion
2
...er/pushdown/boolean_null/DRILL_6174_filter_push_down_is_false_and_is_not_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 = false and c3 is not null; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 = false and c3 is not null; |
4 changes: 2 additions & 2 deletions
4
...rces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_null.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...urces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c3 is not null; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c3 is not null; |
2 changes: 1 addition & 1 deletion
2
...nctional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c3 is not null; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c3 is not null; |
4 changes: 2 additions & 2 deletions
4
...rces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_true.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...urces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_true.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 is not true; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 is not true; |
2 changes: 1 addition & 1 deletion
2
...nctional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_not_true.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 is not true; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 is not true; |
4 changes: 2 additions & 2 deletions
4
...esources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_null.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...resources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c3 is null; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c3 is null; |
2 changes: 1 addition & 1 deletion
2
...s/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c3 is null; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c3 is null; |
4 changes: 2 additions & 2 deletions
4
...esources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_true.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...resources/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_true.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 is true; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 is true; |
2 changes: 1 addition & 1 deletion
2
...s/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_is_true.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where c2 is true; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where c2 is true; |
4 changes: 2 additions & 2 deletions
4
...ces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_eq_false.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...rces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_eq_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 = false; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 = false; |
2 changes: 1 addition & 1 deletion
2
...ctional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_eq_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 = false; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 = false; |
4 changes: 2 additions & 2 deletions
4
...ces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...rces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 is false; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 is false; |
2 changes: 1 addition & 1 deletion
2
...ctional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 is false; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 is false; |
4 changes: 2 additions & 2 deletions
4
...nal/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false_or_is_null.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...onal/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false_or_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 = false or c3 is null; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 = false or c3 is null; |
2 changes: 1 addition & 1 deletion
2
...ter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_false_or_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c2 = false or c3 is null; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c2 = false or c3 is null; |
4 changes: 2 additions & 2 deletions
4
...rces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_null.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...urces/Functional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c3 is null; | ||
select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c3 is null; |
2 changes: 1 addition & 1 deletion
2
...nctional/filter/pushdown/boolean_null/DRILL_6174_filter_push_down_not_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
explain plan for select c1, c2, c3 from `parquet_storage/DRILL_6174/DRILL_6174_test_data` where not c3 is null; | ||
explain plan for select c1, c2, c3 from `filter/pushdown/DRILL_6174_test_data` where not c3 is null; |
2 changes: 1 addition & 1 deletion
2
.../Functional/filter/pushdown/boolean_null/DRILL_6603_select_count_id_where_str_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select count(id) from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is null; | ||
select count(id) from `filter/pushdown/DRILL_6603_test_data` where str is null; |
2 changes: 1 addition & 1 deletion
2
...unctional/filter/pushdown/boolean_null/DRILL_6603_select_count_star_where_str_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select count(*) from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is null; | ||
select count(*) from `filter/pushdown/DRILL_6603_test_data` where str is null; |
2 changes: 1 addition & 1 deletion
2
...es/Functional/filter/pushdown/boolean_null/DRILL_6603_select_id_where_not_str_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select id from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where not str is null; | ||
select id from `filter/pushdown/DRILL_6603_test_data` where not str is null; |
2 changes: 1 addition & 1 deletion
2
...ources/Functional/filter/pushdown/boolean_null/DRILL_6603_select_id_where_str_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select id from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is null; | ||
select id from `filter/pushdown/DRILL_6603_test_data` where str is null; |
2 changes: 1 addition & 1 deletion
2
.../Functional/filter/pushdown/boolean_null/DRILL_6603_select_star_where_str_is_not_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select * from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is not null; | ||
select * from `filter/pushdown/DRILL_6603_test_data` where str is not null; |
2 changes: 1 addition & 1 deletion
2
...rces/Functional/filter/pushdown/boolean_null/DRILL_6603_select_star_where_str_is_null.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 |
---|---|---|
@@ -1 +1 @@ | ||
select * from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is null; | ||
select * from `filter/pushdown/DRILL_6603_test_data` where str is null; |
2 changes: 1 addition & 1 deletion
2
...filter/pushdown/boolean_null/DRILL_6603_select_star_where_str_is_null_combined_filter.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 |
---|---|---|
@@ -1 +1 @@ | ||
select * from `parquet_storage/DRILL_6603/DRILL_6603_test_data` where str is null and id < 5; | ||
select * from `filter/pushdown/DRILL_6603_test_data` where str is null and id < 5; |
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
2 changes: 1 addition & 1 deletion
2
...ources/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_date.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
numFiles=1 | ||
numRowGroups=1 |
2 changes: 1 addition & 1 deletion
2
...sources/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_date.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c5 < cast(date '2017-01-05' as date); |
2 changes: 1 addition & 1 deletion
2
...Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_date.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
explain plan for | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c5 < cast(date '2017-01-05' as date); |
4 changes: 2 additions & 2 deletions
4
...s/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_timestamp.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...es/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_timestamp.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c4 > cast(date '2017-01-19' as timestamp); |
2 changes: 1 addition & 1 deletion
2
...ional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_timestamp.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
explain plan for | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c4 > cast(date '2017-01-19' as timestamp); |
2 changes: 1 addition & 1 deletion
2
...ces/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_varchar.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d3/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d3/0_0_0.parquet | ||
numFiles=1 | ||
numRowGroups=1 |
2 changes: 1 addition & 1 deletion
2
...rces/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_varchar.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c5 > cast(date '2017-01-19' as varchar); |
2 changes: 1 addition & 1 deletion
2
...ctional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_date_varchar.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
explain plan for | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c5 > cast(date '2017-01-19' as varchar); |
4 changes: 2 additions & 2 deletions
4
...ources/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_time_time.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
2 changes: 1 addition & 1 deletion
2
...sources/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_time_time.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c6 = cast(time '03:08:47' as time); |
2 changes: 1 addition & 1 deletion
2
...Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_time_time.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
explain plan for | ||
select cast(c4 as varchar), cast(c5 as varchar), cast(c6 as varchar) | ||
from `parquet_storage/DRILL_6174/DRILL_6174_test_data` | ||
from `filter/pushdown/DRILL_6174_test_data` | ||
where c6 = cast(time '03:08:47' as time); |
4 changes: 2 additions & 2 deletions
4
...ces/Functional/filter/pushdown/cast/DRILL_6174_filter_push_down_cast_ex_time_varchar.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Scan | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/parquet_storage/DRILL_6174/DRILL_6174_test_data/d2/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d1/0_0_0.parquet | ||
path=.*/filter/pushdown/DRILL_6174_test_data/d2/0_0_0.parquet | ||
numFiles=2 | ||
numRowGroups=2 |
Oops, something went wrong.