Add options to specify if we want to have dictionary encoding or compression to the Parquet interface in pyarrow.