Adding config for parquet compression ratio
This commit is contained in:
committed by
vinoth chandar
parent
48643795b8
commit
1b756db221
@@ -309,6 +309,10 @@ public class HoodieWriteConfig extends DefaultHoodieConfig {
|
||||
return Integer.parseInt(props.getProperty(HoodieStorageConfig.LOGFILE_SIZE_MAX_BYTES));
|
||||
}
|
||||
|
||||
public double getParquetCompressionRatio() {
|
||||
return Double.valueOf(props.getProperty(HoodieStorageConfig.PARQUET_COMPRESSION_RATIO));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* metrics properties
|
||||
|
||||
Reference in New Issue
Block a user