• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • scala-dmn
    • None

      AT

      In the DMN Wrapper, fine-grained number types are supported.

      Reasoning

      The current Java DMN engine supports fine-grained number types (integer, double, long) as documented here: https://docs.camunda.org/manual/7.14/user-guide/dmn-engine/data-types/#supported-data-types
      The Scala DMN engine only supports number which is based on a BigDecimal.
      To preserve behavioral and API compatibility, we need to integrate a converter that transforms into such values in the Scala DMN engine after the type checking based on the defined typeRef of an element (input or output).

      See https://docs.google.com/document/d/1fvp2qf75W7VBSFjfHVz3iRN4Ynq349R6qtq3eP62opw/edit#bookmark=id.n98twla90ke5

        This is the controller panel for Smart Panels app

            [CAM-12917] In DMN Wrapper, number types are supported

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Fix Version/s New: 7.15.0 [ 16006 ]
            Tobias Metzke-Bernstein made changes -
            Assignee New: Tobias Metzke-Bernstein [ tobias.metzke ]
            Tobias Metzke-Bernstein made changes -
            Fix Version/s Original: 7.15.0 [ 16006 ]
            Tobias Metzke-Bernstein made changes -
            Link New: This issue depends on CAM-12915 [ CAM-12915 ]
            Tobias Metzke-Bernstein made changes -
            Description Original: h3. AT

            In DMN Wrapper, number types are supported

            See https://docs.google.com/document/d/1fvp2qf75W7VBSFjfHVz3iRN4Ynq349R6qtq3eP62opw/edit#bookmark=id.n98twla90ke5
            New: h3. AT

            In the DMN Wrapper, fine-grained number types are supported.

            h3. Reasoning

            The current Java DMN engine supports fine-grained number types (integer, double, long) as documented here: https://docs.camunda.org/manual/7.14/user-guide/dmn-engine/data-types/#supported-data-types
            The Scala DMN engine only supports {{number}} which is based on a {{BigDecimal}}.
            To preserve behavioral and API compatibility, we need to integrate a converter that transforms into such values in the Scala DMN engine after the type checking based on the defined {{typeRef}} of an element (input or output).

            See https://docs.google.com/document/d/1fvp2qf75W7VBSFjfHVz3iRN4Ynq349R6qtq3eP62opw/edit#bookmark=id.n98twla90ke5
            Tobias Metzke-Bernstein made changes -
            Mentioned Roles
            Tobias Metzke-Bernstein made changes -
            Mentioned Groups
            Tobias Metzke-Bernstein made changes -
            Status Original: Open [ 1 ] New: Ready [ 10005 ]
            Tobias Metzke-Bernstein made changes -
            Assignee Original: Tobias Metzke-Bernstein [ tobias.metzke ]

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: