zhangyue19921010 opened a new pull request, #11395:
URL: https://github.com/apache/paimon/pull/11395

   ### Purpose
   
   Fixes #11394.
   
   PVFS stores a relative `setWorkingDirectory` argument without resolving it. 
A later relative `create` or `open` then tries to qualify a path using a 
relative base and fails. Resolve the new directory against the current 
directory using Hadoop's `Path.makeQualified`, which also keeps absolute paths 
qualified.
   
   ### Tests
   
   - The new Hadoop API test failed on the unchanged base in both mock REST 
configurations (with and without table caching). It now writes and reads a 
relative file inside an Object Table, and verifies that setting an absolute 
directory still works.
   - 37 targeted Java tests passed on JDK 11, including the existing 
catalog-root and VFS stream tests. The normal Maven checks and root Apache RAT 
check passed.
   


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

Reply via email to