[GitHub] [carbondata] jackylk commented on a change in pull request #3364: [CARBONDATA-3503][Carbon2] Adapt to SparkSessionExtension

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] jackylk commented on a change in pull request #3364: [CARBONDATA-3503][Carbon2] Adapt to SparkSessionExtension

GitBox
jackylk commented on a change in pull request #3364: [CARBONDATA-3503][Carbon2] Adapt to SparkSessionExtension
URL: https://github.com/apache/carbondata/pull/3364#discussion_r318566713
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/hive/cli/CarbonSQLCLIDriver.scala
 ##########
 @@ -39,17 +39,16 @@ object CarbonSQLCLIDriver {
 
   def init() {
     if (hiveContext == null) {
-
-      import org.apache.spark.sql.CarbonSession._
-
       val storePath = System.getenv("CARBON_HOME") + "/bin/carbonsqlclistore"
       val warehouse = System.getenv("CARBON_HOME") + "/warehouse"
       val carbon = SparkSession
 
 Review comment:
   ```suggestion
         val spark = SparkSession
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services