Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1608

Move addMonths and subtractMonths from Calcite to Avatica

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • avatica
    • None

    Description

      Move the addMonths and subtractMonths methods from Calcite's SqlFunctions to Avatica's DateTimeUtils. This is consistent with other date-time functions being in Avatica.

      Also, move tests from Calcite SqlFunctionsTest to Avatica DateTimeUtilsTest.

      After they are in an Avatica release that Calcite uses (see CALCITE-1612), we can remove from Calcite and also get some extra functionality (see CALCITE-1613).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: