Davies Liu created SPARK-19375: ---------------------------------- Summary: na.fill() should not change the data type of column Key: SPARK-19375 URL: https://issues.apache.org/jira/browse/SPARK-19375 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 2.1.0, 2.0.2, 1.6.3, 1.5.2, 1.4.1, 1.3.1, 2.2.0 Reporter: Davies Liu
When these function are called, a column of numeric type will be converted into DoubleType, which will cause unexpected type casting and also precision loss for LongType. {code} def fill(value: Double) def fill(value: Double, cols: Array[String]) def fill(value: Double, cols: Seq[String]) {code} Workaround {code} fill(Map("name" -> v)) {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