Skip to content

Implement native function of sinh(71), cosh(72), tanh(73) #1555

@slfan1989

Description

@slfan1989

###Title

Implement native (vectorized) math functions: sinh(expr), cosh(expr), tanh(expr)

Summary

Add hyperbolic functions sinh, cosh, and tanh with semantics aligned to Apache Spark SQL. Provide Arrow/DataFusion–based native, vectorized implementations that always return DOUBLE, delivering better throughput and lower overhead on large columns and improving compatibility with Spark SQL’s function set.

Motivation

  • Align with Spark SQL’s function set to reduce migration/compatibility costs.
  • Replace/augment UDF paths with native vectorized kernels to cut JNI/interpreter overhead and improve performance.
  • Lay the groundwork for additional math functions (e.g., asinh/acosh/atanh).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions