Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20471

flink1.10SQL Precision overflow return null when using decimal

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      flink1.10SQL Precision overflow return null when using decimal

      this is my code

      The calculation result is null

      Dubug discovery

      in codegen code this method is called

      in this method

      will get a 39 precision decimal result,  

      So null is returned

      My idea of modification is to cut the precision here or provide the configuration entry of precision

      Maybe you can consider assigning it to me to fix it

       

        Attachments

        1. image-2020-12-03-21-47-31-755.png
          232 kB
          sadfdddd
        2. image-2020-12-03-21-48-44-901.png
          25 kB
          sadfdddd
        3. image-2020-12-03-21-49-40-529.png
          634 kB
          sadfdddd
        4. image-2020-12-03-21-50-11-117.png
          154 kB
          sadfdddd

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sadfdddd sadfdddd
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: