### Question:
S3SelectPushdown { public static boolean isCompressionCodecSupported(InputFormat<?, ?> inputFormat, Path path) { if (inputFormat instanceof TextInputFormat) { return getCompressionCodec((TextInputFormat) inputFormat, path) .map(codec -> (codec instanceof GzipCodec) || (codec instanceof BZip2Codec)) .orElse(false); } return false; } private  S3SelectPushdown(); static boolean isCompressionCodecSupported(InputFormat<?, ?> inputFormat, Path path); static boolean shouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition);  }### Answer:
@Test public void testIsCompressionCodecSupported() { assertTrue(S3SelectPushdown.isCompressionCodecSupported(inputFormat, new Path("s3: assertFalse(S3SelectPushdown.isCompressionCodecSupported(inputFormat, new Path("s3: assertFalse(S3SelectPushdown.isCompressionCodecSupported(inputFormat, new Path("s3: assertFalse(S3SelectPushdown.isCompressionCodecSupported(inputFormat, new Path("s3: assertTrue(S3SelectPushdown.isCompressionCodecSupported(inputFormat, new Path("s3: }