amansinha100 opened a new pull request #1736: DRILL-7064: Leverage the summary metadata for plain COUNT aggregates. URL: https://github.com/apache/drill/pull/1736 Please see [DRILL-7064](https://issues.apache.org/jira/browse/DRILL-7064) for a description of this enhancement. This PR adds a logical planning rule `ConvertCountToDirectScanRule` and creates a DirectScan plan for plain COUNT(*) and COUNT(column) aggregates with no group-by. It does this by reading the Summary metadata cache file and fetching the `totalRowCount` and `totalNullCount` per column. Note to reviewer: Please review the DRILL-7064 commit here and ignore the DRILL-7063 which is the underlying metadata changes on which this PR is based.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
