Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/20387
  
    > We've added a resolution rule from UnresolvedRelation to 
DataSourceV2Relation that uses our implementation. UnresolvedRelation needs to 
pass its TableIdentifier to the v2 relation, which is why I added this.
    
    I've been thinking about this a little more. This is actually an existing 
problem for file-based data sources. The solution is, when converting an 
unresolved relation to data source relation, we add some new options to the 
existing data source options before passing the options to data source 
relation. See `FindDataSourceTable.readDataSourceTable` about how we handle the 
path option.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to