[ https://issues.apache.org/jira/browse/SPARK-20665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liuxian updated SPARK-20665: ---------------------------- Description: >select bround(12.3, 2); >NULL For this case, the expected result is 12.3, but it is null "Round" has the same problem: >select round(12.3, 2); >NULL was: >select bround(12.3, 2); >NULL For this case, the expected result is 12.3, but it is null > Spark-sql, "Bround" function return NULL > ---------------------------------------- > > Key: SPARK-20665 > URL: https://issues.apache.org/jira/browse/SPARK-20665 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.2.0 > Reporter: liuxian > > >select bround(12.3, 2); > >NULL > For this case, the expected result is 12.3, but it is null > "Round" has the same problem: > >select round(12.3, 2); > >NULL -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org