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

Support '<DATE> + <INTEGER>' operator

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      We should support '<DATE> + <INTEGER>' operator. I'm not sure whether it is standard SQL, but it occurs in TPC-DS (query 72).

      Note that d + n is equivalent to d + interval n day if n is a constant.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshbabu Rajeshbabu Chintaguntla
                Reporter:
                julianhyde Julian Hyde
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: