Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1563#discussion_r153711119 --- Diff: integration/spark2/src/main/spark2.1/CarbonSessionState.scala --- @@ -239,3 +258,21 @@ class CarbonSqlAstBuilder(conf: SQLConf, parser: CarbonSpark2SqlParser) extends } } } + +/** + * returns session state object based on passed class name + */ +object SessionStateFactory { + def getSessionState(sparkSession: SparkSession, className: String): HiveSessionState = { --- End diff -- seems no one is using this
---