Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions