huaxingao opened a new pull request, #11333: URL: https://github.com/apache/iceberg/pull/11333
When running `TestCompressionSettings#testWriteDataWithDifferentSetting()`, we want to reset the Spark configuration between tests to ensure that previous settings do not influence subsequent ones. For instance, consider the following scenarios: The first configuration uses: ``` ImmutableMap.of(COMPRESSION_CODEC, "zstd", COMPRESSION_LEVEL, "1") ``` The second configuration uses: ``` ImmutableMap.of(COMPRESSION_CODEC, "gzip") ``` Currently, the configuration does not reset, so the second setting unexpectedly retains the `COMPRESSION_LEVEL` from the first setting, resulting in `COMPRESSION_CODEC, "gzip", COMPRESSION_LEVEL, "1"`. This can lead to unexpected behavior. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org