[ 
https://issues.apache.org/jira/browse/SPARK-18555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahmoud Rawas updated SPARK-18555:
----------------------------------
    Description: 
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|


  was:
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|
+-------------------+-------------------+
`


> 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.0, 2.0.1, 2.0.2
>            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to