Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35780

Support DATE/TIMESTAMP literals across the full range

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      DATE/TIMESTAMP literals support years 0000 to 9999.
      However, internally we support a range that is much larger.
      I can add or subtract large intervals from a date/timestamp and the system will happily process and display large negative and positive dates.

      Since we obviously cannot put this genie back into the bottle the only thing we can do is allow matching DATE/TIMESTAMP literals.

      Attachments

        Activity

          People

            linhongliu-db Linhong Liu
            linhongliu-db Linhong Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: