Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3383

Allow plural time units in interval literals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.22.0
    • None
    • None

    Description

      Allow plural time units in interval literals. For example, currently, Calcite allows INTERVAL '2' DAY but gives an error for INTERVAL '2' DAYS. (Note: DAY vs DAYS.)

      Standard SQL only allows the first; PostgreSQL allows both.

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: