GitHub user arina-ielchiieva opened a pull request:
https://github.com/apache/drill/pull/1104
DRILL-6118: Handle item star columns during project / filter push dowâ¦
â¦n and directory pruning
1. Added DrillFilterItemStarReWriterRule to re-write item star fields to
regular field references.
2. Refactored DrillPushProjectIntoScanRule to handle item star fields,
factored out helper classes and methods from PreUitl.class.
3. Fixed issue with dynamic star usage (after Calcite upgrade old usage of
star was still present, replaced WILDCARD -> DYNAMIC_STAR for clarity).
4. Added unit tests to check project / filter push down and directory
pruning with item star.
Details in [DRILL-6118](https://issues.apache.org/jira/browse/DRILL-6118).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arina-ielchiieva/drill DRILL-6118
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1104.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1104
----
commit 4673bfb593ca6422d58fa9e0e6eb281a69f1ed69
Author: Arina Ielchiieva <arina.yelchiyeva@...>
Date: 2017-12-21T17:31:00Z
DRILL-6118: Handle item star columns during project / filter push down and
directory pruning
1. Added DrillFilterItemStarReWriterRule to re-write item star fields to
regular field references.
2. Refactored DrillPushProjectIntoScanRule to handle item star fields,
factored out helper classes and methods from PreUitl.class.
3. Fixed issue with dynamic star usage (after Calcite upgrade old usage of
star was still present, replaced WILDCARD -> DYNAMIC_STAR for clarity).
4. Added unit tests to check project / filter push down and directory
pruning with item star.
----
---