Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 4.0
    • Component/s: CQL
    • Labels:
      None

      Description

      The goal of this ticket is to add support for arithmetic operators:

      • -: Change the sign of the argument
      • +: Addition operator
      • -: Minus operator
      • *: Multiplication operator
      • /: Division operator
      • %: Modulo operator

      This ticket we should focus on adding operator only for numeric types to keep the scope as small as possible. Dates and string operations will be adressed in follow up tickets.

      The operation precedence should be:

      1. *, /, %
      2. +, -

      Some implicit data conversion should be performed when operations are performed on different types (e.g. double + int).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                blerer Benjamin Lerer
                Reviewer:
                Sylvain Lebresne
              • Votes:
                1 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: