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

   ### Purpose
   
   fix #9862
   
   - `PluginFileIO`, `ResolvingFileIO` and `CachingFileIO` do not forward 
`listFilesIterative`, so the `FileIO` interface default runs on the wrapper and 
hides the inner object-store override (`HadoopCompliantFileIO` in 
s3/oss/obs/jindo).
   - On an object table with D sub-prefixes, `ObjectTableImpl` refresh then 
issues D+1 `listStatus` calls and materializes each directory instead of one 
flat paginated listing.
   - Forward the call in each wrapper, following its existing idiom; matches 
#9071 (`RESTTokenFileIO`) and #9034 (same three wrappers, `tryToWriteAtomic`).
   
   ### Tests
   
   - Added `PluginFileIOTest#testListFilesIterativeReachesPluginOverride` (also 
asserts the plugin classloader), 
`ResolvingFileIOTest#testListFilesIterativeReachesResolvedOverride`, 
`CachingFileIOTest#testListFilesIterativeReachesDelegateOverride`: the 
delegate's iterator is returned as-is and `listStatus` is never called. Each 
fails when only its wrapper's fix is reverted.
   - `mvn -pl paimon-common clean install` (JDK 11): BUILD SUCCESS, 0 failures 
(checkstyle, spotless, enforcer included); the four wrapper test classes 49/49.
   


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