Skip to content

[SPARK-19225][SQL]round decimal return the same value as spark 1.x #16612

Closed
discipleforteen wants to merge 2 commits intoapache:masterfrom
discipleforteen:master
Closed

[SPARK-19225][SQL]round decimal return the same value as spark 1.x #16612
discipleforteen wants to merge 2 commits intoapache:masterfrom
discipleforteen:master

Conversation

@discipleforteen
Copy link

What changes were proposed in this pull request?

in https://issues.apache.org/jira/browse/SPARK-19225,
change the round decimal function. select round(4.4, 2) can return 4.4 , not return null

How was this patch tested?

unit test

Please review http://spark.apache.org/contributing.html before opening a pull request.

modify round scala
[SPARK-19225][SQL]round decimal return the same value as spark 1.x
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants