[ https://issues.apache.org/jira/browse/PARQUET-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611360#comment-17611360 ]
ASF GitHub Bot commented on PARQUET-2196: ----------------------------------------- emkornfield commented on code in PR #1000: URL: https://github.com/apache/parquet-mr/pull/1000#discussion_r984222684 ########## parquet-cli/src/main/java/org/apache/parquet/cli/Util.java: ########## @@ -151,6 +151,8 @@ public static String shortCodec(CompressionCodecName codec) { return "B"; case LZ4: return "4"; + case LZ4_RAW: + return "4"; Review Comment: this looks like the same value as LZ4, which doesn't seem correct, as they are in fact two different compression schemes? > Support LZ4_RAW codec > --------------------- > > Key: PARQUET-2196 > URL: https://issues.apache.org/jira/browse/PARQUET-2196 > Project: Parquet > Issue Type: Improvement > Components: parquet-mr > Reporter: Gang Wu > Priority: Major > > There is a long history about the LZ4 interoperability of parquet files > between parquet-mr and parquet-cpp (which is now in the Apache Arrow). > Attached links are the evidence. In short, a new LZ4_RAW codec type has been > introduced since parquet format v2.9.0. However, only parquet-cpp supports > LZ4_RAW. The parquet-mr library still uses the old Hadoop-provided LZ4 codec > and cannot read parquet files with LZ4_RAW. -- This message was sent by Atlassian Jira (v8.20.10#820010)