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

Move addMonths and subtractMonths from Calcite to Avatica

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: avatica
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: