GitHub user jacques-n opened a pull request:
https://github.com/apache/drill/pull/406
DRILL-4474: Ensure that ConvertCountToDirectScan only pushes through
project when project is trivial.
There are probably additional optimizations here but as the code stood, we
completely ignored whatever was in the project above the scan below the
count(x).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacques-n/drill DRILL-4474
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/406.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 #406
----
commit 5ab13c68357008c07a86386aa14f6f92d8584e9b
Author: Jacques Nadeau <[email protected]>
Date: 2016-03-04T21:27:26Z
DRILL-4474: Ensure that ConvertCountToDirectScan only pushes through
project when project is trivial.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---