Skip to content

[EPIC] Implement all Spark date/time expressions #4418

Open

Description

@andygrove

What is the problem the feature request solves?

This epic tracks support for the full set of Spark date/time expressions in Comet. Each expression below has a checkbox indicating whether it is implemented today. In-flight work is linked to the relevant PR. Versions in parentheses indicate the Spark version that introduced the expression; unmarked entries are present in all supported Spark versions (3.4 / 3.5 / 4.0 / 4.1).

The canonical list is derived from FunctionRegistry.scala in Spark 4.0.1 and Spark 4.1.1 (the // datetime functions section), augmented with the TimeType expressions defined in timeExpressions.scala (4.1+).

Date / Timestamp functions

Interval construction

Timestamp arithmetic (related catalyst expressions)

Time-window expressions

TimeType expressions (Spark 4.1+)

See umbrella issue #4288 for the full TimeType implementation plan.

Related work

Describe the potential solution

No response

Additional context

No response

Activity

  1. added
    priority:mediumFunctional bugs, performance regressions, broken features
    and removed on May 26, 2026
  2. andygrove commented on Sep 28, 2026

    @andygrove
    MemberAuthor

    Everything on this list now runs in Comet or is rewritten or folded before Comet sees the plan, except the interval arithmetic in #3094, #3112, #3114 and #3115 (#5864 closes those), session_window (#4785), and the TimeType expressions tracked in #4288. I think we can close this in favour of those issues and #5061.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:expressionsExpression evaluationpriority:mediumFunctional bugs, performance regressions, broken features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions