Skip to content

Add extra DATE_PART units that are already supported in arrow-rs #3502

Description

@jonmmease

The following PostgreSQL DATE_PART units are already supported by arrow-rs kernels, and should be straightforward to add to DataFusion:

  • quarter: The quarter of the year (1 - 4)
  • doy: The day of the year (1 - 365/366)
  • dow: The day of the week (0 - 6; Sunday is 0)

See https://www.postgresql.org/docs/8.1/functions-datetime.html

PR to follow

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions