cloud-fan commented on issue #26214: [SPARK-29558][SQL] ResolveTables and 
ResolveRelations should be order-insensitive
URL: https://github.com/apache/spark/pull/26214#issuecomment-547025258
 
 
   > and I think that resolution should resolve tables and views separately
   
   This is hard to discuss as we don't know how the view API would look like in 
DS v2. The rationale for why we resolve them together before: Hive metastore 
table entries can be either table or view, and we must get the table entry 
first, then return either a table or view plan depending on the table entry 
type.
   
   Anyway I get your point. I'll hold it off until we figure out the view API 
in DS v2. But I still think it's better to resolve relation in one place, to 
ensure
   1. temp view has higher priority
   2. table/view share the same namespace

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