Skip to content

Commit

Permalink
fixed deadlock issue during failed query
Browse files Browse the repository at this point in the history
  • Loading branch information
kunal642 committed Mar 22, 2019
1 parent 1c8e9b6 commit 8c9afba
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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
CarbonSession.updateSessionInfoToCurrentThread(sparkSession)

@transient lazy val carbonRelation: CarbonRelation =
Expand Down

0 comments on commit 8c9afba

Please sign in to comment.