Is your feature request related to a problem? Please describe.
Spark's add_months(start_date, num_months) has no native implementation in Auron and falls back to Spark evaluation.
Describe the solution you'd like
Add native support for AddMonths through the existing extension-function path, with Spark-compatible month arithmetic and null handling.
Cover month-end adjustment, leap years, positive and negative month offsets, zero offsets, and null inputs in Rust unit tests and AuronFunctionSuite. Both literal and column month arguments should be supported.
Describe alternatives you've considered
Keep using Spark fallback for this expression.
Additional context
For example, add_months(DATE '2016-08-31', 1) should return 2016-09-30.
Spark documentation:
https://spark.apache.org/docs/latest/api/sql/datetime-functions/#add_months
Is your feature request related to a problem? Please describe.
Spark's
add_months(start_date, num_months)has no native implementation in Auron and falls back to Spark evaluation.Describe the solution you'd like
Add native support for
AddMonthsthrough the existing extension-function path, with Spark-compatible month arithmetic and null handling.Cover month-end adjustment, leap years, positive and negative month offsets, zero offsets, and null inputs in Rust unit tests and
AuronFunctionSuite. Both literal and column month arguments should be supported.Describe alternatives you've considered
Keep using Spark fallback for this expression.
Additional context
For example,
add_months(DATE '2016-08-31', 1)should return2016-09-30.Spark documentation:
https://spark.apache.org/docs/latest/api/sql/datetime-functions/#add_months