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

Eliminate code duplication between math UDFs #9552

Closed
jonahgao opened this issue Mar 11, 2024 · 2 comments · Fixed by #9598
Closed

Eliminate code duplication between math UDFs #9552

jonahgao opened this issue Mar 11, 2024 · 2 comments · Fixed by #9598
Assignees
Labels
enhancement New feature or request

Comments

@jonahgao
Copy link
Member

jonahgao commented Mar 11, 2024

Is your feature request related to a problem or challenge?

The codes in acos.rs, asin.rs under the new functionn packege and codes in #9535 are quite similar.
Perhaps they could be simplified with the help of a common macro.

Describe the solution you'd like

A common macro similar to math_unary_function, used to define math UDFs.

Describe alternatives you've considered

No response

Additional context

No response

@jonahgao jonahgao added the enhancement New feature or request label Mar 11, 2024
@alamb
Copy link
Contributor

alamb commented Mar 11, 2024

Thank you @jonahgao -- I agree this would be very helpful

@jonahgao
Copy link
Member Author

take

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