GitHub user foryou2030 opened a pull request: https://github.com/apache/incubator-carbondata/pull/112
Add statistics for counting the size of the query result Why rasie this pr? Users want to know the total records send by carbon to spark . How to solve? add count statistics in the iterator How to test? running query, and check the executor logs, it will print like the following: `2016-08-31 15:01:27,270 | STATISTIC | [[Executor task launch worker-70][partitionID:automation;queryID:2421028889045981_0]] | The record numbers of query result for the taskid : 2421028889045981_0 Is : 13 | org.apache.carbondata.common.logging.impl.StandardLogService.statistic(StandardLogService.java:238)` You can merge this pull request into a Git repository by running: $ git pull https://github.com/foryou2030/incubator-carbondata record_num Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/112.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 #112 ---- commit 720f5e7b5d6b8fa2449d7f890d488c201c541753 Author: foryou2030 <foryou2...@126.com> Date: 2016-08-31T08:40:36Z add statistics for the number of records ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---