The Parquet memory estimate is based on the number of columns scanned in the file. Before
IMPALA-5036, count queries correctly counted zero columns read because it was a metadata-only scan. The count-star optimisation is also a metadata-only scan but the memory estimate is based on the column actually being scanned.
This regression is apparent in the planner test changes: