added test and fixes for ParquetScan.applyAssignments.