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

Add SQL planner support for calling round function with two arguments #2503

Merged
merged 2 commits into from
May 10, 2022

Conversation

andygrove
Copy link
Member

Which issue does this PR close?

Part of #2420

This addresses the issue at the logical planning layer but not for physical execution.

Rationale for this change

We were defining round as a unary function but it can actually take two arguments.

What changes are included in this PR?

Change the signature of round to allow for an optional second argument.

Are there any user-facing changes?

No

@andygrove andygrove self-assigned this May 10, 2022
@github-actions github-actions bot added the datafusion Changes in the datafusion crate label May 10, 2022
@andygrove andygrove changed the title Round sig Add SQL planner support for calling round function with two arguments May 10, 2022
@andygrove andygrove added the bug Something isn't working label May 10, 2022
@alamb alamb merged commit 8a29ed5 into apache:master May 10, 2022
@alamb
Copy link
Contributor

alamb commented May 10, 2022

Looks good to me -- thanks @andygrove

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

Successfully merging this pull request may close these issues.

2 participants