Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discrepancy in the meaning of log function #265

Closed
jimexist opened this issue May 5, 2021 · 0 comments · Fixed by #271
Closed

Discrepancy in the meaning of log function #265

jimexist opened this issue May 5, 2021 · 0 comments · Fixed by #271
Labels
bug Something isn't working

Comments

@jimexist
Copy link
Member

jimexist commented May 5, 2021

Describe the bug

In Postgres log is equivalent to log10 while ln exists to represent natural logarithm. Currently the datafusion function isn't consistent with this.

To Reproduce
Steps to reproduce the behavior:

run select log(10)

Expected behavior
A clear and concise description of what you expected to happen.

it should be =1 rather than >1; also there should be a dedicated ln function

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant