Skip to content

[datafusion-spark] Add date_part function #19822

Description

@cht42

Is your feature request related to a problem or challenge?

The current date_part function in datafusion have a few differences with the spark implementation:

  • day of week parts are 1 indexed in spark but 0 indexed in datafusion
  • spark supports a few more aliases for certain parts

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. added theissue type on Jan 15, 2026
  2. added a commit that references this issue on Jan 18, 2026
    fc7d090
  3. added a commit that references this issue on Mar 24, 2026
    6ac2979
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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions