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

   ### Purpose
   This is the part0 of https://github.com/apache/paimon/issues/7881
   Currently, we can't add new blob columns through Flink/Spark sql. In this 
PR, I slightly changes the restriction of altering `blob-fields` configuration, 
as below:
   1. Do not allow altering an existing fields to BLOB
   2. Do not allow removing an existing fields from blob fields
   3. Allow configuring a non-existing fields as blob -- this is for future 
blob fields
   
   Then during altering tables, new bytes fields with blob-fields configured 
will be converted to blob fields, as below:
   ```sql
   -- current setting is only 'blob-field'='video'
   ALTER TABLE T_BLOB SET ('blob-field'='video,picture');
   ALTER TABLE T_BLOB ADD picture BYTES
   ```
   
   ### Tests
   See Unit Tests and ITCases


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