[ 
https://issues.apache.org/jira/browse/SPARK-28324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884397#comment-16884397
 ] 

Marco Gaido commented on SPARK-28324:
-------------------------------------

+1 for [~srowen]'s opinion. I don't think it is a good idea to change the 
behavior here.

> The LOG function using 10 as the base, but Spark using E
> --------------------------------------------------------
>
>                 Key: SPARK-28324
>                 URL: https://issues.apache.org/jira/browse/SPARK-28324
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> Spark SQL:
> {code:sql}
> spark-sql> select log(10);
> 2.302585092994046
> {code}
> PostgreSQL:
> {code:sql}
> postgres=# select log(10);
>  log
> -----
>    1
> (1 row)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to