Github user original-brownbear commented on the issue:

    https://github.com/apache/spark/pull/19180
  
    @srowen I think we have that already here 
https://github.com/apache/spark/blob/master/common/unsafe/src/test/java/org/apache/spark/unsafe/types/UTF8StringSuite.java#L103
    
    `("你好123".getBytes(StandardCharsets.UTF_8)[0] & 0xFF) == 0b11100100` :)
    



---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to