You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xi Lyu (Jira)" <ji...@apache.org> on 2026/03/10 09:05:00 UTC

[jira] [Created] (SPARK-55930) Make ErrorUtils string size checks byte-aware

Xi Lyu created SPARK-55930:
------------------------------

             Summary: Make ErrorUtils string size checks byte-aware
                 Key: SPARK-55930
                 URL: https://issues.apache.org/jira/browse/SPARK-55930
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: 4.1.1
            Reporter: Xi Lyu


We should replace character-length checks with UTF-8 byte size checks when enforcing
the gRPC metadata size limit. Multi-byte characters (e.g. CJK) can cause
length-based checks to undercount the actual byte size sent on the wire.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org