yihua opened a new pull request, #13802: URL: https://github.com/apache/hudi/pull/13802
### Change Logs This is a temporary fix on the Trino test setup before the change in `lib/trino-filesystem/src/main/java/io/trino/filesystem/memory/MemoryFileSystemCache.java` from https://github.com/onehouseinc/trino/pull/36 is upstreamed (fixing `MemoryFileSystemCache` to take care of 0-sized files without throwing exception). Note that in production code, the Trino Hudi connector should never read empty files. The reason it happens in the tests is that when unzipping and copying the test table files, 0-sized files are read through the file system cache, thus the problem. This PR fixes the test setup by avoiding reading 0-sized files through the cache. ### Impact As above ### Risk level none ### Documentation Update N/A ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI 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]
