ZZZxDong opened a new pull request, #18263: URL: https://github.com/apache/hudi/pull/18263
## What is the purpose of the pull request Fix issue #14963: Ensure that compression codec configuration is respected across the board. ## Brief change log - Modified `HFileUtils.getHFileCompressionAlgorithm()` to use `HFILE_COMPRESSION_ALGORITHM_NAME.defaultValue()` instead of hardcoding `CompressionCodec.GZIP` - This ensures the method respects the configured compression codec default value ## Verify this pull request This pull request is already covered by existing tests: - `TestHFileUtils.testGetHFileCompressionAlgorithm()` - tests all compression codecs - `TestHFileUtils.testGetHFileCompressionAlgorithmWithEmptyString()` - tests empty string case - `TestHFileUtils.testGetDefaultHFileCompressionAlgorithm()` - tests default value case ## Committer checklist - [x] Has a corresponding JIRA in PR title & commit - [x] Commit message is descriptive of the change - [x] CI is green - [x] Necessary doc changes done or have another open PR - [x] For large changes, a backward compatibility is discussed in the dev mailing list -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
