cloud-fan commented on a change in pull request #27718:
[SPARK-30885][SQL][FOLLOW-UP] Fix issues where some V1 commands allow tables
that are not fully qualified.
URL: https://github.com/apache/spark/pull/27718#discussion_r386966106
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/PlanResolutionSuite.scala
##########
@@ -715,14 +718,13 @@ class PlanResolutionSuite extends AnalysisTest {
val parsed2 = parseAndResolve(sql2)
val parsed3 = parseAndResolve(sql3)
- val tableIdent = TableIdentifier(tblName, None)
Review comment:
We only need `TableIdentifier` for v1 command. How about we move this into
`if (useV1Command)` and change it to `TableIdentifier(tblName,
Some("default"))`?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]