Github user foryou2030 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/91#discussion_r77120916 --- Diff: core/src/main/java/org/apache/carbondata/scan/result/iterator/DetailQueryResultIterator.java --- @@ -45,10 +47,28 @@ public DetailQueryResultIterator(List<BlockExecutionInfo> infos, QueryModel queryModel) { super(infos, queryModel); + this.queryModel = queryModel; + } + + private Boolean flag; + + private Long total = 0L; + + private QueryModel queryModel; + + @Override public boolean hasNext() { + flag = super.hasNext(); --- End diff -- in hasnext: i need to judge when will it traverse the iterator over in next: i need to accumulate the total time but AbstractDetailQueryResultIterator didn't define 'next'
--- 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. ---