SELECT sum(c1),c3 FROM `union_01.parquet` group BY c3 UNION SELECT sum(c1),c3 FROM `union_02.parquet` group BY c3;