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

   ### What problem does this PR solve?
   
   Issue Number: close #48122
   
   Related PR: N/A
   
   Problem Summary: Allow MOW unique flexible partial update loads to patch 
VARIANT object paths while preserving undeclared paths, including duplicate-key 
batching and publish conflict replay. V1 accepts JSON object patches only and 
rejects root scalar/array/null values and doc-mode VARIANT columns.
   
   ### Release note
   
   MOW unique tables can use JSON flexible partial update loads to patch object 
fields inside VARIANT columns.
   
   ### Check List (For Author)
   
   - Test: Unit Test and Regression test
       - `build-support/clang-format.sh`
       - `git diff --check 058d97897f611b0bf68965d073a5888aafba9805...HEAD`
       - `./build.sh --be --fe`
       - `./run-be-ut.sh --run --filter='VariantUtilTest.*VariantPatch*'`
       - `./run-regression-test.sh --run --conf tmp/regression-conf.auto.groovy 
-d unique_with_mow_p0/flexible -s test_flexible_partial_update_variant`
       - `./run-regression-test.sh --run --conf tmp/regression-conf.auto.groovy 
-d unique_with_mow_p0/flexible/publish -s 
test_flexible_partial_update_variant_publish_conflict`
       - `./run-regression-test.sh --run --conf tmp/regression-conf.auto.groovy 
-d unique_with_mow_p0/flexible -s test_flexible_partial_update_restricts`
       - `./run-regression-test.sh --run --conf tmp/regression-conf.auto.groovy 
-d load_p0/routine_load -s test_routine_load_flexible_partial_update`
       - `build-support/run-clang-tidy.sh --base 
058d97897f611b0bf68965d073a5888aafba9805 --build-dir be/build_Release` (blocked 
locally by existing/toolchain include issues: `stddef.h` not found, `types.h` 
unmatched `NOLINTEND`, and BE test include resolution under the Release compile 
database)
   - Behavior changed: Yes. JSON flexible partial update on MOW unique tables 
now merges declared VARIANT object paths and preserves undeclared paths; 
non-object VARIANT flexible patches and doc-mode VARIANT columns are rejected 
in v1.
   - Does this need documentation: No
   


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