You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Bryński (JIRA)" <ji...@apache.org> on 2015/10/29 10:19:28 UTC

[jira] [Commented] (SPARK-11331) Kryo serializer broken with StringTypes

    [ https://issues.apache.org/jira/browse/SPARK-11331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980101#comment-14980101 ] 

Maciej Bryński commented on SPARK-11331:
----------------------------------------

Same when using from PySpark.



> Kryo serializer broken with StringTypes
> ---------------------------------------
>
>                 Key: SPARK-11331
>                 URL: https://issues.apache.org/jira/browse/SPARK-11331
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.5.1
>         Environment: Spark shell both in standalone cluster or local mode
>            Reporter: Saif Addin Ellafi
>
> When using --driver-java-options "-Dspark.serializer=org.apache.spark.serializer.KryoSerializer"
> data looks like this when both loading from JSON or PARQUET. Have not tried other data sources.
> res1: org.apache.spark.sql.Row = [325767905,1,4000,0,1,3933.34,3901.64,3901.64,0.0,0,0,0,0,0,0.0,0,0.0,0.0,4000,0.0,?,??,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,68.299999952,0.0,0.0,20,200311,0,0.0,1,1,4000,1,100.0,100.0,0.0,0.0, Card NoRw   ????????,614,1,200506,01????????,????,???,???????,0,0,0.0,68.299999952,100.0]
> question marks appear on StringType data
> val cols = data.dtypes.filter(_._2 == "StringType").map(_._1)
> data.select("id", cols:_*).first
> res13: org.apache.spark.sql.Row = [325767905,?,??, Card NoRw   ????????,01????????,????,???,???????]



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

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