beliefer commented on a change in pull request #31245:
URL: https://github.com/apache/spark/pull/31245#discussion_r565963610
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/v2/ShowTablesSuite.scala
##########
@@ -19,21 +19,15 @@ package org.apache.spark.sql.execution.command.v2
import org.apache.spark.sql.{AnalysisException, Row}
import org.apache.spark.sql.execution.command
-import org.apache.spark.sql.types.{StringType, StructType}
/**
* The class contains tests for the `SHOW TABLES` command to check V2 table
catalogs.
*/
class ShowTablesSuite extends command.ShowTablesSuiteBase with
CommandSuiteBase {
override def defaultNamespace: Seq[String] = Nil
- override def showSchema: StructType = {
- new StructType()
- .add("namespace", StringType, nullable = false)
- .add("tableName", StringType, nullable = false)
- }
override def getRows(showRows: Seq[ShowRow]): Seq[Row] = {
Review comment:
I have put `getRows `in parent.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]