Overflow calculation in tpch Q1