Commits


Gang Wu authored and GitHub committed f32c27b470b
GH-34432: [Java] NoCompressionCodec throws for unsupported codec type (#34580) ### Rationale for this change `NoCompressionCodec` does not complain about an unsupported codec type. `ArrowFileReader` uses `NoCompressionCodec` by default and fails to decompress a compressed arrow file. ### What changes are included in this PR? `NoCompressionCodec` throws if unsupported codec type has been requested. ### Are these changes tested? Make sure all tests pass. ### Are there any user-facing changes? No. * Closes: #34432 Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>