Skip to content

[FEATURE] Support date and time functions #722

Closed

Description

@Yury-Fridlyand

Copied from opendistro-for-elasticsearch/sql#709.

Implementation should match MySQL standard: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html

Further improvements:

Activity

  1. GabeFernandez310 commented on Feb 24, 2023

    @GabeFernandez310
    Contributor

    Date_format may need to be fixed to deprecate legacy. There are legacy tests which fail in the new engine if legacy is disabled (possibly due to the lack of support for a 3rd argument for a timezone).

    These include the following in DateFormatIT:

    • DateFormatIT. and
    • DateFormatIT. equalTo
    • DateFormatIT. greaterThan
    • DateFormatIT. greaterThanOrEqualTo
    • DateFormatIT. lessThan
    • DateFormatIT. lessThanOrEqualTo
    • DateFormatIT. or
    • DateFormatIT. sortByDateFormat
  2. Yury-Fridlyand commented on Mar 28, 2023

    @Yury-Fridlyand
    CollaboratorAuthor

    Closed as completed.

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

Metadata

Metadata

Labels

enhancementv2.7.0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions