Skip to content

Commit

Permalink
fix tispark-sql dbName (pingcap#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
birdstorm authored Jul 3, 2018
1 parent aaee6a3 commit 021c163
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ class TiSessionCatalog(externalCatalog: HiveExternalCatalog,
TableIdentifier(name)
}
}
meta.getTables(database.get).map { db =>
TableIdentifier(db.getName, Option(db.getName))
meta.getTables(database.get).map { table =>
TableIdentifier(table.getName, Option(dbName))
} ++ localTempViews
} else {
super.listTables(db, pattern)
Expand Down

0 comments on commit 021c163

Please sign in to comment.