Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14963

Calcite engine. Date interval arythmetic returns invalid results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      select date '1992-01-01' + interval (17) days - returns 1992-01-18 - valid
      select date '1992-01-01' + interval (18) days - returns 1992-01-18 - invalid

      Tests:
      function/date/test_extract_month.test

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              tledkov-gridgain Taras Ledkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h