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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment