You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pingsan Song (JIRA)" <ji...@apache.org> on 2017/05/10 22:58:04 UTC

[jira] [Created] (SPARK-20701) dataframe.show has wrong white space when containing Supplement Unicode character

Pingsan Song created SPARK-20701:
------------------------------------

             Summary: dataframe.show has wrong white space when containing Supplement Unicode character
                 Key: SPARK-20701
                 URL: https://issues.apache.org/jira/browse/SPARK-20701
             Project: Spark
          Issue Type: Bug
          Components: Spark Shell
    Affects Versions: 2.1.1
         Environment: Mac, Hadoop 2.7 prebuild
            Reporter: Pingsan Song
            Priority: Trivial


The character in the String is \u1D400, repeat 4 times.
I guess it would be the same for any supplement unicode character.

scala> var testRdd = sc.parallelize(Seq("𝒞𝒞𝒞𝒞")).toDF

scala> testDF.show(false)
+--------+
|value   |
+--------+
|𝒞𝒞𝒞𝒞|
+--------+



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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