Kazuaki Ishizaki created SPARK-18653:
----------------------------------------

             Summary: Dataset.show() generates incorrect padding for Unicode 
Character
                 Key: SPARK-18653
                 URL: https://issues.apache.org/jira/browse/SPARK-18653
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Kazuaki Ishizaki


The following program generates incorrect space padding for {{Dataset.show()}} 
since column name or column value has Unicode Character

Program
{code:java}
case class UnicodeCaseClass(整数: Int, 実数: Double, s: String)
val ds = Seq(UnicodeCaseClass(1, 1.1, "文字列1")).toDS
ds.show
{code}

Output
{code}
+---+---+----+
| 整数| 実数|   s|
+---+---+----+
|  1|1.1|文字列1|
+---+---+----+
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to