Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2627#discussion_r210782975
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonEnv.scala ---
@@ -237,6 +237,21 @@ object CarbonEnv {
getCarbonTable(tableIdentifier.database,
tableIdentifier.table)(sparkSession)
}
+ /**
+ * This method returns corresponding CarbonTable, it will return None if
it's not a CarbonTable
+ */
+ def getCarbonTableOption(
--- End diff --
There is already a `getCarbonTable` func defined in `CarbonEnv`, is this
needed??
---