tpch18: fix for fold/groupby switch