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

support mathematics operation for array with scalar value #1513

Closed
liukun4515 opened this issue Jan 1, 2022 · 2 comments · Fixed by #1552
Closed

support mathematics operation for array with scalar value #1513

liukun4515 opened this issue Jan 1, 2022 · 2 comments · Fixed by #1552
Labels
enhancement New feature or request

Comments

@liukun4515
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

In the binary mathematics operation, datafusion just supports Divide,Modulo for array with scalar value. https://github.com/apache/arrow-datafusion/blob/07f5b3da8f5bab4c296aa2886be37556b104a930/datafusion/src/physical_plan/expressions/binary.rs#L681

We need to add Plus,Minus,Multiply operation for array with scalar value.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@alamb
Copy link
Contributor

alamb commented Jan 11, 2022

Arrow-rs ticket to track adding these kernels: apache/arrow-rs#1153

@liukun4515
Copy link
Contributor Author

Arrow-rs ticket to track adding these kernels: apache/arrow-rs#1153

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants