carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1563: [CARBONDATA-1592] Refactored CarbonSession
Date Mon, 27 Nov 2017 09:17:56 GMT
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


---

Mime
View raw message