Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1888#discussion_r164962280
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonPreAggregateRules.scala
 ---
    @@ -461,6 +467,8 @@ case class CarbonPreAggregateQueryRules(sparkSession: 
SparkSession) extends Rule
                       childPlan,
                       carbonTable,
                       agg)
    +              
CarbonSession.threadSet(CarbonCommonConstants.SUPPORT_DIRECT_QUERY_ON_DATAMAP,
    --- End diff --
    
    Can you avoid calling it multiple times , instead call only once


---

Reply via email to