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:17 GMT
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1563#discussion_r153140116
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/CarbonSession.scala ---
    @@ -50,7 +50,11 @@ class CarbonSession(@transient val sc: SparkContext,
       }
     
       @transient
    -  override lazy val sessionState: SessionState = new CarbonSessionState(this)
    +  override lazy val sessionState: SessionState = SessionStateFactory
    --- End diff --
    
    chang to 
    ```
    SessionStateFactory.getSessionState(
           this,
           sc.conf.get(
                 "spark.carbon.sessionstate.classname",
                 "org.apache.spark.sql.hive.CarbonSessionState"))
    ```


---

Mime
View raw message