Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.