Github user kumarvishal09 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1542#discussion_r152357935 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/preaaggregate/PreAggregateUtil.scala --- @@ -489,4 +489,44 @@ object PreAggregateUtil { } updatedPlan } + --- End diff -- This code is specific for inserting the data to aggregate table better to move this code in rules class
---