sknop opened a new pull request #9950:
URL: https://github.com/apache/kafka/pull/9950


   Cast SMT transformation for bytes -> string.
   Without this fix, the conversion becomes
   
   ByteBuffer.toString(), which always gives one of these useless results:
       "java.nio.HeapByteBuffer[pos=0 lim=4 cap=4]" 
       "[B@5ec0a365" (for byte array)
       
   
   With this change, the byte array is converted into a hex string of the
   byte buffer content, for example
   
       "FEDCBA9876543210"
   
   Completed with test case and successfully tried out in a
   real database conversion.
   
   
   ### Committer Checklist (excluded from commit message)
   - [X ] Verify design and implementation 
   - [ X] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to