JingsongLi opened a new pull request, #490:
URL: https://github.com/apache/paimon-rust/pull/490

   ## Summary
   
   Adds Java-compatible BLOB field comment directives so SQL schemas can mark 
binary columns as raw BLOB, descriptor BLOB, or Blob View fields. The directive 
handling lives in the core schema layer, while DataFusion only passes through 
column comments and supports the `BYTES` SQL alias.
   
   ## Changes
   
   - Parse `__BLOB_FIELD`, `__BLOB_DESCRIPTOR_FIELD`, and `__BLOB_VIEW_FIELD` 
during core schema creation and `ALTER TABLE ... ADD COLUMN`.
   - Normalize configured binary BLOB fields to `BlobType`, update `blob-field` 
/ `blob-descriptor-field` / `blob-view-field` options, and strip directive 
prefixes from stored comments.
   - Add DataFusion SQL coverage for `BYTES` and Java-style BLOB directives.
   - Document BLOB column directives and their equivalent table options in 
`docs/src/sql.md`.
   
   ## Testing
   
   - [x] `cargo test -p paimon blob_comment_directive --lib`
   - [x] `cargo test -p paimon blob_field_option --lib`
   - [x] `cargo test -p paimon test_blob_view_options --lib`
   - [x] `cargo test -p paimon-datafusion blob_comment_directive --lib`
   - [x] `cargo test -p paimon-datafusion test_create_table_blob --lib`
   - [x] `cargo test -p paimon-datafusion test_alter_table_add_blob --lib`
   - [x] `git diff --check`


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