You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/03/25 05:20:28 UTC

[GitHub] [carbondata] ravipesala commented on a change in pull request #3158: [WIP] Fixed deadlock issue during failed query

ravipesala commented on a change in pull request #3158: [WIP] Fixed deadlock issue during failed query
URL: https://github.com/apache/carbondata/pull/3158#discussion_r268491676
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDatasourceHadoopRelation.scala
 ##########
 @@ -56,8 +56,8 @@ case class CarbonDatasourceHadoopRelation(
     paths.head,
     CarbonEnv.getDatabaseName(caseInsensitiveMap.get("dbname"))(sparkSession),
     caseInsensitiveMap("tablename"))
-  lazy val databaseName: String = carbonTable.getDatabaseName
-  lazy val tableName: String = carbonTable.getTableName
+  lazy val databaseName: String = identifier.getDatabaseName
+  lazy val tableName: String = identifier.getTableName
 
 Review comment:
   I don't think it is necessary to take as lazy val, just access `identifier` in `toString` method

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services