Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/91#discussion_r76758327 --- Diff: core/src/main/java/org/apache/carbondata/core/carbon/querystatistics/QueryStatisticsRecorder.java --- @@ -61,14 +67,275 @@ public QueryStatisticsRecorder(String queryId) { */ public synchronized void recordStatistics(QueryStatistic statistic) { queryStatistics.add(statistic); + // refresh query Statistics Map + String key = statistic.getQueryId(); + if (!StringUtils.isEmpty(key)) { + // 240954528274124_0 and 240954528274124 is the same query id + key = key.substring(0, 15); + } + if (queryStatisticsMap.get(key) != null) { --- End diff -- query id is not based on segment it is based on task
--- 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. ---