Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1413#discussion_r145030920
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonSource.scala ---
@@ -233,10 +233,17 @@ object CarbonSource {
* @return
*/
def updateCatalogTableWithCarbonSchema(tableDesc: CatalogTable,
- sparkSession: SparkSession): CatalogTable = {
+ sparkSession: SparkSession):
CatalogTable = {
val metaStore = CarbonEnv.getInstance(sparkSession).carbonMetastore
val storageFormat = tableDesc.storage
val properties = storageFormat.properties
+ tableDesc.storage.properties.get("tableName") match {
--- End diff --
is it `tableName` mandatory here? tableName validation is not happened in
parser?
---