Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-19

Money type overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0.0-incubating
    • Catalog
    • None

    Description

      Use tpch schema, but change l_extendedprice to use MONEY type, run Q1, you should see negative amounts.

      I believe this is due to overflow.

      Side mark, postgres 9 money type use 8 bytes and will return correct result.

      Attachments

        Activity

          People

            mli Ming Li
            ftian Feng Tian
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: