taowenjun opened a new pull request, #13385: URL: https://github.com/apache/seatunnel/pull/13385
### Purpose of this pull request Yes, I am contributing to Apache SeaTunnel. Follow up on #10129 and the closed #10325 by @chl-wxp, as suggested in the issue discussion. This PR builds on the original approach of grouping adjacent complete ORC stripes and credits its original author. ORC sources currently read each file as a single split. A large file containing multiple stripes therefore cannot use multiple source readers. This change enables the existing opt-in file splitting configuration for ORC in LocalFile, HdfsFile and S3File. ### Changes - Read stripe metadata using the connector Hadoop configuration, authentication and reused filesystem; group adjacent stripes toward `file_split_size` without dividing a stripe. An oversized stripe remains a single split. - Apply the byte range and projected schema to the same ORC reader options and close the record reader. - Preserve the default `enable_file_split=false`, existing split serialization and external compression/archive fallback. Internal ORC compression remains supported. No dependency upgrade or Hive-specific source wiring is included. - Add stripe boundary, oversized/empty file, split serialization and exact split-versus-whole projection tests; update LocalFile/HDFS factory expectations and English/Chinese documentation. - Extend the existing LocalFile E2E with a real six-stripe, 768-row ORC file and exact row-count assertions. Prepare the fixture in every engine container. ### Validation - Local file-base verification and packaging passed, including 13 targeted tests before rebasing onto current dev. - Fork Build passed for the exact PR head: https://github.com/taowenjun/seatunnel/actions/runs/44877446481 - All four JDK 11/17 Linux/Windows unit-test jobs, all 16 updated-module integration-test shards, LocalFile and SFTP E2E on JDK 11/17, code style, license and documentation checks passed. - The new ORC E2E uses parallelism 2 on Flink/Zeta and verifies exactly 768 rows with projection. Spark uses parallelism 1 because Assert row counting is task-local and closes before subsequent Spark tasks contribute; parallel Spark end-to-end row-count validation is not claimed. - Maven Central HTTP 429 interrupted the first JDK 11 LocalFile attempt; the rerun passed without code changes. ### Compatibility No existing options, defaults, public APIs or data formats are removed or renamed. Splitting is opt-in and preserves complete stripe boundaries. Hive-specific source integration is a separate follow-up. -- 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]
