Skip to content

feat: Support Spark expression: make_dt_interval#4338

Open
YutaLin wants to merge 7 commits into
apache:mainfrom
YutaLin:3098_support_expression_make_dt_interval
Open

feat: Support Spark expression: make_dt_interval#4338
YutaLin wants to merge 7 commits into
apache:mainfrom
YutaLin:3098_support_expression_make_dt_interval

Conversation

@YutaLin
Copy link
Copy Markdown
Contributor

@YutaLin YutaLin commented May 15, 2026

Which issue does this PR close?

Closes #3098

Rationale for this change

Support expression make_dt_interval

What changes are included in this PR?

  • Support DateTimeIntervalType in QueryPlanSerd, serd.rs and types.proto
  • Leverage make_dt_interval from datafusion-spark, so update jni_api.rs, datatime.scala and QueryPlanSerd
  • Support duration(microsend) in ArrowType
  • Support null duration

How are these changes tested?

Add make_dt_interval sql and test in spark3.4/3.5/4.0

@YutaLin
Copy link
Copy Markdown
Contributor Author

YutaLin commented May 15, 2026

This patch also help #4150

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Support Spark expression: make_dt_interval

1 participant