0dunay0 opened a new issue, #8917:
URL: https://github.com/apache/paimon/issues/8917

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   ### Paimon version
   
   master
   
   ### Compute Engine
   
   Hive catalog metadata commit path
   
   ### Minimal reproduce step
   
   1. Create a table with column comments that contain newline characters, for 
example from Avro field doc strings.
   2. Sync Iceberg metadata through .
   3. Let a comment stay under 255 characters after newline removal.
   4. Observe Glue validation failure on  or .
   
   ### What doesn't meet your expectations?
   
    returns early for comments at or below the 255 character limit before 
removing  and . AWS Glue rejects comments with newline characters, so short 
multiline comments still fail validation even though they should be normalized 
to spaces first.
   
   ### Anything else?
   
   A small fix is enough here: strip newlines before the length check, keep the 
existing truncation behavior for long comments, and add a unit test covering 
both short and long multiline comments.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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