imback82 commented on issue #27718: [SPARK-30885][SQL][FOLLOW-UP] Fix a hack in 
ResolveSessionCatalog.TempViewOrV1Table
URL: https://github.com/apache/spark/pull/27718#issuecomment-592282158
 
 
   You are right. For v1 commands where the extracted table name doesn't go 
thru the table lookup, `spark_catalog.tbl_name` would be allowed. I will 
address this in this PR.
   
   One way to fix is to check the extracted name in `ResolveSessionCatalog` and 
fail early if the name has one part. Is this a reasonable fix?
   
   Also, do you think we will ever move to the new resolution framework (using 
`ResolvedTable`, etc.), which will fix this issue as well.

----------------------------------------------------------------
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]

Reply via email to