Skip to content

feat: support decimal for math functions: pow #18031

Description

@theirix

Is your feature request related to a problem or challenge?

Math functions in datafusion-functions do not support Decimal128, Decimal256 directly, always casting the input to floats.

There is merged support for log function in #17140. This case is simpler since the function has exactly two arguments (log has one or two).

Describe the solution you'd like

Implement type cases for decimals using a generic calculate_binary_math macro.

Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions