Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6072

Uncaught overflow when multiplying two bigints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.11.0
    • None
    • Backend

    Description

      The following query produces an incorrect result:

      select cast(9999999 as bigint) * cast(999999999999 as bigint)
      

      Result:

      -8446745073719551615
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tarasbob Taras Bobrovytsky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: