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

   ## Problem
   
   Paimon can write an unannotated shredded Variant array whose element wrapper 
contains only a required `BYTE_ARRAY value` fallback leaf. Doris already 
recognizes Paimon's optional wrapper groups, but rejected this required 
fallback leaf during Parquet schema validation.
   
   ## Changes
   
   - Allow a required fallback leaf only for a Paimon unannotated, 
fallback-only array element.
   - Keep annotated Variant layouts, object wrappers, and array elements with a 
typed carrier under the existing strict validation rules.
   - Verify that the non-nullable fallback leaf is materialized into Variant 
array elements.
   
   ## Validation
   
   - ASAN BE unit tests: `ParquetSchemaTest.*`, `VariantColumnReaderTest.*`, 
and `PaimonVariantReaderTest.*` (82 tests passed).
   - clang-format 16 validation on all affected C/C++ files.
   - `git diff --check`.
   
   Jira: DORIS-27886
   


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