Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1604#discussion_r154526536 --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/CarbonSession.scala --- @@ -58,7 +59,12 @@ class CarbonSession(@transient val sc: SparkContext, */ @transient override lazy val sharedState: SharedState = { - existingSharedState.getOrElse(new SharedState(sparkContext)) + if (existingSharedState.isDefined) { --- End diff -- ok, fixed
---