wangyum opened a new pull request, #36625:
URL: https://github.com/apache/spark/pull/36625

   ### What changes were proposed in this pull request?
   
   Rewrite table location to absolute location based on database location. For 
example:
   ```
   Table location: /user/hive/warehouse/test_table
   Database location: viewfs://clusterA/user/hive/warehouse/
   ```
   The current table location is: 
`viewfs://clusterA/user/hive/warehouse/test_table`.
   
   ### Why are the changes needed?
   
   To make Spark read Hive tables across cluster. For example:
   Hive and HDFS on cluster A.
   Spark on cluster B.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Unit test.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to