aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/main
diff options
context:
space:
mode:
authorTravis Crawford <travis@medium.com>2016-03-30 16:59:52 -0700
committerReynold Xin <rxin@databricks.com>2016-03-30 16:59:52 -0700
commitda54abfd8730ef752eca921089bcf568773bd24a (patch)
treecaffe6260f202b2ab1834630546891c5401c8b96 /sql/hive/src/main
parent258a2434193aae62999102a8df73ca70bf0cb9f1 (diff)
downloadspark-da54abfd8730ef752eca921089bcf568773bd24a.tar.gz
spark-da54abfd8730ef752eca921089bcf568773bd24a.tar.bz2
spark-da54abfd8730ef752eca921089bcf568773bd24a.zip
[SPARK-14081][SQL] - Preserve DataFrame column types when filling nulls.
## What changes were proposed in this pull request? This change resolves an issue where `DataFrameNaFunctions.fill` changes a `FloatType` column to a `DoubleType`. We also clarify the contract that replacement values will be cast to the column data type, which may change the replacement value when casting to a lower precision type. ## How was this patch tested? This patch has associated unit tests. Author: Travis Crawford <travis@medium.com> Closes #11967 from traviscrawford/SPARK-14081-dataframena.
Diffstat (limited to 'sql/hive/src/main')
0 files changed, 0 insertions, 0 deletions