cloud-fan commented on a change in pull request #31675:
URL: https://github.com/apache/spark/pull/31675#discussion_r584556516
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/ShowTablesSuiteBase.scala
##########
@@ -106,6 +106,18 @@ trait ShowTablesSuiteBase extends QueryTest with
DDLCommandTestUtils {
}
}
+ test("SPARK-34560: unique attribute references") {
+ withNamespaceAndTable("ns1", "tbl1") { t1 =>
+ sql(s"CREATE TABLE $t1 (col INT) $defaultUsing")
+ val show1 = sql(s"SHOW TABLES IN $catalog.ns1")
Review comment:
Can we simply run SHOW TABLES again here and self-join the result? Seems
we don't need to create another table to trigger this bug?
----------------------------------------------------------------
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]