Github user mohammadshahidkhan commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1583#discussion_r155046109
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/hive/CarbonMetaStore.scala
---
@@ -142,6 +142,10 @@ trait CarbonMetaStore {
def getTableFromMetadataCache(database: String, tableName: String):
Option[CarbonTable]
+ def getTableInfo(absoluteTableIdentifier: AbsoluteTableIdentifier)
--- End diff --
many places we are reading schema from the tablePath, ie we decided to move
it at common place.
Once this PR is merged will refactor code from other places to use this
interface.
---