fallintoplace opened a new pull request, #1576:
URL: https://github.com/apache/iceberg-go/pull/1576

   ## What changed
   
   Process schema names rune by rune from the first character in both Avro-name 
validation and sanitization.
   
   ## Why
   
   The previous implementation treated the first UTF-8 byte as a complete 
character, then ranged from the middle of a multibyte encoding. Names beginning 
with characters such as `é` could therefore produce malformed UTF-8.
   
   The regression coverage includes Unicode letters, a non-letter emoji at the 
beginning, and a multibyte character later in the name.
   
   ## Testing
   
   - `go test .`
   - `go vet .`


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