spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahmoud Rawas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-18555) na.fill miss up original values in long integers
Date Wed, 23 Nov 2016 03:58:58 GMT
Mahmoud Rawas created SPARK-18555:
-------------------------------------

             Summary: na.fill miss up original values in long integers
                 Key: SPARK-18555
                 URL: https://issues.apache.org/jira/browse/SPARK-18555
             Project: Spark
          Issue Type: Bug
    Affects Versions: 2.0.2, 2.0.1, 2.0.0
            Reporter: Mahmoud Rawas
            Priority: Critical


Manly the issue is clarified in the following example:
Given a Dataset: 
`
scala> data.show
+-------------------+-------------------+
|                  a|                  b|
+-------------------+-------------------+
|                  1|                  2|
|                 -1|                 -2|
|9123146099426677101|9123146560113991650|
+-------------------+-------------------+
`
theoretically when we call na.fill(0) nothing should change, while the current result is:
`
scala> data.na.fill(0).show
+-------------------+-------------------+
|                  a|                  b|
+-------------------+-------------------+
|                  1|                  2|
|                 -1|                 -2|
|9123146099426676736|9123146560113991680|
+-------------------+-------------------+
`



--
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


Mime
View raw message