Skip to content

Commit bedd63b

Browse files
committed
Remove getTables() from r.SQLUtils
1 parent cf98a76 commit bedd63b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sql/core/src/main/scala/org/apache/spark/sql/api/r/SQLUtils.scala

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,6 @@ private[sql] object SQLUtils extends Logging {
216216
}
217217
}
218218

219-
def getTables(sparkSession: SparkSession, databaseName: String): DataFrame = {
220-
databaseName match {
221-
case n: String if n != null && n.trim.nonEmpty =>
222-
Dataset.ofRows(sparkSession, ShowTablesCommand(Some(n), None))
223-
case _ =>
224-
Dataset.ofRows(sparkSession, ShowTablesCommand(None, None))
225-
}
226-
}
227-
228219
def getTableNames(sparkSession: SparkSession, databaseName: String): Array[String] = {
229220
val db = databaseName match {
230221
case _ if databaseName != null && databaseName.trim.nonEmpty =>

0 commit comments

Comments
 (0)