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

Allow plural time units in interval literals

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.22.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: