You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/04/03 08:33:01 UTC

[GitHub] [arrow-datafusion] izveigor opened a new issue, #5838: Additional math functions

izveigor opened a new issue, #5838:
URL: https://github.com/apache/arrow-datafusion/issues/5838

   ### Is your feature request related to a problem or challenge?
   
   Arrow-DataFusion at this stage has few mathematical expressions and operations. In this issue I describe possible futures features about the problem.
   
   Most significant features:
   - [ ] Cbrt (Support: PostgreSQL, Rust, Numpy)
   - [ ] Mathematical constant Pi (3,1415..) (Support: PostgreSQL, Rust, Numpy, MySQL)
   - [ ] Factorial (Support: PostgreSQL, Rust, Numpy)
   - [ ] Hyperbolic functions (Support: PostgreSQL, Rust, Numpy)
   - [ ] Degrees, Radians (Support: PostgreSQL, Numpy, Rust, MySQL)
   
   Least Significant features:
   - [ ] GCD and LCM (Numpy)
   - [ ] Support radian/degree trigonometric functions (Like PostgreSQL COS/COSD) (Support: PostgreSQL)
   
   ### Describe the solution you'd like
   
   Series of PR, active discussion of features.
   
   ### Describe alternatives you've considered
   
   The significance of some features can be disproven as a result of conversations.
   
   ### Additional context
   
   Sources:
   - PostgreSQL math functions: https://www.postgresql.org/docs/current/functions-math.html
   - MySQL math functions: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html
   - Rust f64 in-built functions: https://doc.rust-lang.org/std/primitive.f64.html
   - Numpy (using with Pandas) math functions: https://numpy.org/doc/stable/reference/routines.math.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] waynexia commented on issue #5838: Additional math functions

Posted by "waynexia (via GitHub)" <gi...@apache.org>.
waynexia commented on issue #5838:
URL: https://github.com/apache/arrow-datafusion/issues/5838#issuecomment-1503007620

   FYI: it also helps to integrate PromQL's [function](https://prometheus.io/docs/prometheus/latest/querying/functions/#trigonometric-functions), thanks for this 👍 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] mingmwang commented on issue #5838: Additional math functions

Posted by "mingmwang (via GitHub)" <gi...@apache.org>.
mingmwang commented on issue #5838:
URL: https://github.com/apache/arrow-datafusion/issues/5838#issuecomment-1494458875

   👍


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #5838: Additional math functions

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #5838: Additional math functions
URL: https://github.com/apache/arrow-datafusion/issues/5838


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org