[GitHub] spark issue #17399: [DOCS] Clarify round mode for format_number function

2017-03-24 Thread roxannemoslehi
Github user roxannemoslehi commented on the issue: https://github.com/apache/spark/pull/17399 Looks like round uses `HALF_UP` rounding mode --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] spark issue #17399: [DOCS] Clarify round mode for format_number function

2017-03-24 Thread roxannemoslehi
Github user roxannemoslehi commented on the issue: https://github.com/apache/spark/pull/17399 Yup! Sorry about that everyone. Looks like my intended commit message didn't make it through originally but should be fixed now! --- If your project is set up for it, you can reply to

[GitHub] spark issue #17399: Update functions.scala

2017-03-23 Thread roxannemoslehi
Github user roxannemoslehi commented on the issue: https://github.com/apache/spark/pull/17399 Hmm @srowen do you mean describe HALF_EVEN round mode? Also, I know some of the other functions that use this type of rounding already include it in their definition. --- If your project

[GitHub] spark pull request #17399: Update functions.scala

2017-03-23 Thread roxannemoslehi
GitHub user roxannemoslehi opened a pull request: https://github.com/apache/spark/pull/17399 Update functions.scala ## What changes were proposed in this pull request? Updated the description for the `format_number` description to indicate that it uses `HALF_EVEN` rounding