Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2189#discussion_r182666461
--- Diff:
streaming/src/main/scala/org/apache/carbondata/streaming/StreamSinkFactory.scala
---
@@ -77,6 +78,22 @@ object StreamSinkFactory {
}
}
+ lazy val listenerAdded = new mutable.HashMap[Int, Boolean]()
+
+ // add CarbonStreamingQueryListener to other SparkSession
--- End diff --
please change to `add CarbonStreamingQueryListener if it is SparkSession
instance`
---