Gabriel39 opened a new pull request, #71411:
URL: https://github.com/apache/doris/pull/71411
### What problem does this PR solve?
Related PRs, in master merge order:
1. #70936 — key condition-cache results by the predicates actually localized
for each file.
2. #70930 — fall back from ORC floating MIN/MAX metadata when missing or
non-finite sums can hide NaN values.
3. #71189 — upgrade Parquet to 1.18.2 and snappy-java to 1.1.10.12.
4. #71191 — reviewed and skipped: branch-4.1 has no Fluss sibling-connector
construction path. Its legacy Paimon property factory already rejects the
padded JDBC subtype before catalog construction.
5. #71202 — isolate parsed manifest entries by inherited first row ID,
including null versus zero.
6. #71031 — preserve effective GCS credentials, scoped OAuth refresh, and
metadata-task ownership.
This backport uses the release branch's legacy catalog/cache layout and
Iceberg 1.11.0. It preserves split-range cache identity, the metadata scanner's
release row protocol, and the existing restrictions on inline Google
credentials and token endpoints.
The legacy vended-credential factory also swallowed explicit-null credential
validation and returned catalog credentials. A dedicated validation exception
now crosses that boundary; unrelated normalization errors retain their existing
fallback behavior. Provider and real factory-entry regression tests cover all
four OAuth fields. Release tests use the Java 8 API surface, legacy storage
factory/resource configuration, and assertions for the validating resolver.
Non-GCS paths retain explicit delegation checks. The Google credential SQL
fixture follows the service-account policy, and the ORC test directly includes
its TableReader dependency.
### Release note
Fix Iceberg condition-cache and row-lineage cache isolation, ORC floating
aggregate correctness, and GCS FileIO credential routing and cleanup on
branch-4.1. Update Parquet and Snappy dependencies.
### Validation
- Pre-commit source review and focused follow-up: all findings corrected,
all 44 changed files covered.
- 251 FE/scanner unit tests passed with zero failures, errors or skips,
including release credential policy, real vended factory, GCS
routing/refresh/lifecycle, XML resources, and manifest row-lineage isolation.
- Repository FE Checkstyle passed for fe-core, fe-iceberg-common and
iceberg-metadata-scanner; clang-format 16 passed for every changed C++
source/header.
- Four affected C++ implementation/test translation units compiled with ASAN.
- Five regression Groovy suites compiled. Iceberg 1.11.0 SDK fixture
creation/readback passed for nested evolution and all 14 ORC floating cases
with Parquet 1.18.2/Snappy 1.1.10.12; Snappy JNI round trips passed.
- The legacy factory null-credential reproduction failed before the
correction and passed afterward.
Full BE unit-test linking and live external SQL suites were not run locally.
### Check List (For Author)
- Test:
- [x] Regression test
- [x] Unit Test
- [x] Manual test (local SDK fixtures and credential-boundary reproduction)
- Behavior changed:
- [x] Yes. Invalid explicit GCS credentials fail instead of selecting a
base identity. SDK-only options without an SDK identity cannot silently replace
Hadoop/HMAC authentication. Cache results and floating aggregate results
preserve scan semantics.
- Does this need documentation?
- [x] No.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
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]