Gabriel39 opened a new pull request, #70956:
URL: https://github.com/apache/doris/pull/70956

   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #70219, #70249, #70335
   PR Type: Build/CI/Chore
   
   Backport these three merged master PRs to branch-4.2 in their original merge 
order, keeping one commit per PR:
   
   1. #70219 — `427a6400802cdc036f6264567490dfa073f1fa29` (2026-11-05): allow 
nullable source queries to use equivalent `non_nullable` asynchronous MV 
outputs and eligible ANN TopN rewrites.
   2. #70249 — `4f40ac9067d9f9de98e7ebbd1a6052527ece5c2b` (2026-11-06): prepare 
pinned MongoDB C/Java client dependencies and stage a dependency-only archive.
   3. #70335 — `5b30c68340bbfda1867f6e4a9aa5f76ed51b33d6` (2026-11-16): align 
TIMESTAMPTZ local display bounds and historical offsets, preserve UTC storage 
input, and avoid result formatting during cloud EXPLAIN eligibility checks.
   
   ### Details
   
   - Keep only the MV mapping tests introduced by #70219 when restoring its 
test file; the older master partition-mapping tests require APIs absent from 
this branch.
   - Register the MongoDB module directly under the release FE parent because 
branch-4.2 lacks the master connector aggregator. Pin the assembly plugin and 
keep inherited Awaitility helpers in test scope so the archive contains exactly 
six intended client runtime jars. No MongoDB catalog or scanner is registered.
   - Apply the timestamp formatter to the existing literal methods because 
branch-4.2 has no string-value visitor. Copy and propagate storage-format 
context through nested literals without changing the caller's query options, 
and retain the shared FE eligibility checks. Adapt the formatter tests to the 
release APIs and the regression default-error expectations to the release 
parser's message. Keep the backported FE tests compatible with Java 8.
   
   ### Testing
   
   - FE Checkstyle passes for the affected FE modules and dependencies.
   - MongoDB scoped Maven packaging passes. Verified the exact six runtime 
jars, aligned driver versions and absence of logging/test-helper jars, then 
executed and verified the actual build.sh archive-staging block.
   - The actual BE thirdparty CMake file configures without requiring new 
MongoDB prebuilt libraries; both targets stay outside the common link set. The 
MongoDB cache rejects an empty managed prefix instead of selecting host OpenSSL.
   - All 13 included Groovy scripts pass syntax validation. Shell syntax and 
diff whitespace checks pass, allowing generated result-file EOF separators.
   - Repository `run-fe-ut.sh` passes all 60 focused FE tests across seven 
classes, with zero failures, errors or skips (MV/ANN mapping, timestamp 
formatting/parser bounds, nested storage formatting, FE result eligibility and 
cloud EXPLAIN).
   - SQL integration suites, native driver compilation and a full BE build were 
not rerun on branch-4.2; CI remains required for that coverage.
   
   ### Release note
   
   Nullable source queries can use asynchronous MVs materialized with 
`non_nullable(column)`, including eligible ANN TopN queries. TIMESTAMPTZ FE 
output rejects session-local years outside 0–9999 and preserves historical 
offset seconds; cloud EXPLAIN avoids formatting query results. MongoDB 
dependency artifacts are added without enabling a catalog.
   


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

Reply via email to