leaves12138 opened a new pull request, #8181:
URL: https://github.com/apache/paimon/pull/8181

   ### Purpose
   
   Support storing top-level ARRAY<BLOB> columns in dedicated blob files, so 
one table can use blob file storage for both BLOB and ARRAY<BLOB> fields.
   
   ### Changes
   
   - Treat BLOB and ARRAY<BLOB> as blob-file fields in schema validation, 
data-evolution planning, blob file context, and column directive cleanup.
   - Extend BlobFileFormat reader/writer with an ARRAY<BLOB> payload layout 
that keeps one blob-file record per table row and stores per-element lengths in 
a compact tail index.
   - Preserve support for null arrays, null elements, empty arrays, selection 
reads, descriptor reads, inline reads, and whole-field placeholders.
   - Add format-level and table-level tests for ARRAY<BLOB>.
   
   ### Scope
   
   This PR enables dedicated blob-file storage for ARRAY<BLOB>. Blob 
descriptor/view/external-storage options continue to validate only top-level 
BLOB fields.
   
   ### Tests
   
   - JAVA_HOME=/opt/jdk-17.0.2.jdk/Contents/Home mvn -pl 
paimon-core,paimon-format -am -DskipTests compile
   - JAVA_HOME=/opt/jdk-17.0.2.jdk/Contents/Home mvn -pl paimon-format -am 
-Pfast-build -DfailIfNoTests=false -Dtest=BlobFileFormatTest test
   - JAVA_HOME=/opt/jdk-17.0.2.jdk/Contents/Home mvn -pl paimon-core -am 
-Pfast-build -DfailIfNoTests=false 
-Dtest=BlobTableTest#testArrayBlobField,ColumnDirectiveUtilsTest#testRemoveDroppedArrayBlobOptions
 test


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

Reply via email to