[ https://issues.apache.org/jira/browse/SPARK-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148074#comment-15148074 ]
Apache Spark commented on SPARK-13332: -------------------------------------- User 'yucai' has created a pull request for this issue: https://github.com/apache/spark/pull/11212 > Decimal datatype support for SQL pow > ------------------------------------ > > Key: SPARK-13332 > URL: https://issues.apache.org/jira/browse/SPARK-13332 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: yucai > > In SQL pow: > 1. when base is Decimal and exponent is integer(Byte, Short, Int), calculate > and return as Decimal > 2. otherwise, calculate and return as Double -- 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