Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/15024
  
    I have updated this PR according to these rules:
    
    1. outside of `ExternalCatalog`, data source and hive tables should both 
use `locationUri` to store table location.
    2. inside `HiveExternalCatalog`:
        2.1. do nothing for hive tables, same as before.
        2.2. for data source tables, always store `locationUri` in table 
properties(like provider, schema, etc.), and set `locationUri` to None if this 
table is not hive-compatible.
    3. before passing storage properties to `DataSource` as data source 
options, add `locationUri` as `path` option, to keep the previous behaviour, 
i.e. the `path` option always exists(even users didn't specify it when creating 
table), and always equal to table location.
    
    cc @rxin @yhuai @ericl @gatorsmile  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to