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

    https://github.com/apache/carbondata/pull/1563#discussion_r153140267
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonSessionState.scala
 ---
    @@ -212,6 +232,21 @@ class CarbonOptimizer(
                 PredicateSubquery(tPlan, p.children, p.nullAware, p.exprId)
             }
         }
    -    super.execute(transFormedPlan)
    +    transFormedPlan
    +  }
    +}
    +
    +object SessionStateFactory {
    +  def getSessionState(sparkSession: SparkSession, className: String): 
HiveSessionState = {
    --- End diff --
    
    Add comment for this function


---

Reply via email to