Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class InMemoryCatalog(hadoopConfig: Configuration = new Configuration) extends E

override def listTables(db: String): Seq[String] = synchronized {
requireDbExists(db)
catalog(db).tables.keySet.toSeq
catalog(db).tables.keySet.toSeq.sorted
}

override def listTables(db: String, pattern: String): Seq[String] = synchronized {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class SessionCatalog(
/**
* List all tables in the specified database, including temporary tables.
*/
def listTables(db: String): Seq[TableIdentifier] = listTables(formatDatabaseName(db), "*")
def listTables(db: String): Seq[TableIdentifier] = listTables(db, "*")

/**
* List all matching tables in the specified database, including temporary tables.
Expand Down