restore getCompression methods in ParquetOutputFormat for compatibility