Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8943 CalendarIntervalType for time intervals
  3. SPARK-9133

Add and Subtract should support date/timestamp and interval type

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Should support

      date + interval
      interval + date

      timestamp + interval
      interval + timestamp

      The best way to support this is probably to resolve this to a date add/substract expression, rather than making add/subtract support these types.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davies Davies Liu
                Reporter:
                rxin Reynold Xin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: