Gabriel39 opened a new pull request, #71198: URL: https://github.com/apache/doris/pull/71198
### What problem does this PR solve? Issue Number: None Backport these master fixes to `branch-4.2`, in master merge order: 1. #70936 — Include file-local predicates in external condition-cache identity. 2. #70919 — Honor explicit TVF compression and keep stateful text/JSON parsing unsplit. 3. #70967 — Allow Iceberg REST unregister-only drops with `iceberg.rest.drop-with-purge-enabled=false`. The requested dependency upgrade #71066 was merged into `branch-4.2` through #71069 while this backport was being validated. It is already present in the base and is not duplicated here. ### Branch adaptations - Reuse the 4.2 localized digest builder while preserving source-range coordinates, INT96 handling and positional-binding/cache exclusions. Adapt the new digest-count test to the branch's earlier adaptive-snapshot hashing. - Pass configured compression through the existing lazy splitter, keeping the legacy API, Lance path and count-pushdown gates. Preserve the original TVF test class and add adapted compression/stateful-format coverage using the branch's Java 8-compatible APIs. - Apply the REST option in legacy Iceberg metadata operations while retaining session-aware catalog access. Validate CREATE/ALTER statements without introducing replay validation; forced database drops use the same table-drop policy. ### Validation - Fresh repository FE build with the targeted tests enabled passed: 231 Java tests, 230 passed and 1 existing disabled case skipped; zero failures/errors. Includes 71 compression/stateful-format cases, existing TVF/splitter tests, REST DROP/cascade/error propagation, property validation and dependency controls. - FE Checkstyle passed; clang-format 16 passed on all 5 affected C++ sources/headers. - Four related C++ production/test translation units compiled with ASAN instrumentation. Existing deprecated-API warnings were left nonfatal for the local toolchain. This is compile coverage, not BE unit-test execution. - All three SQL Groovy suites compiled. The Iceberg fixture compiled and ran against the stock 1.11 SDK modules: all 8,192 rows verified before/after evolution, with unchanged historical snapshot/file identity and the new field default. The three upstream SQL suites and generated result snapshots are included unchanged. Live external SQL regression and full BE unit-test execution were not run locally and remain for CI. ### Release note Fix stale Iceberg condition-cache results after nested-field evolution and invalid TVF file splitting when compression or parsing state requires whole files. Allow Iceberg REST catalogs to unregister tables without deleting files; purge remains enabled by default. ### Check List (For Author) - [x] Unit tests included - [x] Regression tests included - Behavior changed: Yes, as described above. - Documentation: The REST purge option needs documentation; other changes enforce existing contracts. -- 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]
