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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: