spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Gekk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-23741) UTF8String must not return chars disallowed in UTF-8
Date Mon, 19 Mar 2018 21:16:00 GMT
Maxim Gekk created SPARK-23741:
----------------------------------

             Summary: UTF8String must not return chars disallowed in UTF-8
                 Key: SPARK-23741
                 URL: https://issues.apache.org/jira/browse/SPARK-23741
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


Currently UTF8String methods can return chars that are disallowed in UTF-8 by Unicode standard.
In particular, the following first byte values are disallowed in UTF-8: C0–C1, F5–FF.
The full set of well-formed UTF-8 bytes sequences you can find in Table 3-7 of [Unicode 10.0
Standard|http://www.unicode.org/versions/Unicode10.0.0/UnicodeStandard-10.0.pdf]. Example
of output such chars: https://issues.apache.org/jira/browse/SPARK-23649

Such wrong UTF-8 chars must not be returned to users.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message