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

    https://github.com/apache/carbondata/pull/2969#discussion_r242814739
  
    --- Diff: 
integration/hive/src/main/scala/org/apache/carbondata/hiveexample/HiveExample.scala
 ---
    @@ -43,28 +43,25 @@ object HiveExample {
     
         import org.apache.spark.sql.CarbonSession._
     
    -    val carbonSession = SparkSession
    -      .builder()
    -      .master("local")
    -      .appName("HiveExample")
    -      .config("carbonSession.sql.warehouse.dir", 
warehouse).enableHiveSupport()
    -      .getOrCreateCarbonSession(
    -        store, metaStore_Db)
    +    val carbonSession = SparkSession.builder()
    +      .master("local").appName("HiveExample")
    --- End diff --
    
    Yes,I replace this with ExampleUtil to create carbon session.


---

Reply via email to