Github user kunal642 commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1605#discussion_r154990944 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/preaaggregate/PreAggregateUtil.scala --- @@ -493,4 +493,20 @@ object PreAggregateUtil { updatedPlan } + def createChildSelectQuery(tableSchema: TableSchema): String = { --- End diff -- This sql is created to select data from the child table that will be inserted in that table itself. Load UDF would then be added to it and then a DataFrame would be created.
---