Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
1.36.0
-
None
Description
The implementation of the Log library operator does not match the actual dialect behavior.
For example, when log10(0) returns null in mysql and spark, but log10(0) returns error in postgres, neither is calcite's -Intity
postgres=# select log10(0); ERROR: cannot take logarithm of zero postgres=# select log(2,0); ERROR: cannot take logarithm of zero
Attachments
Attachments
Issue Links
1.
|
Add LOG function (enabled in Mysql and Spark library) | Closed | Caican Cai | |
2.
|
Add LOG10 and LN function (enabled in Mysql, Spark library) | Open | Unassigned |