liukun4515 commented on code in PR #1855:
URL: https://github.com/apache/arrow-rs/pull/1855#discussion_r934253633


##########
arrow/src/ipc/reader.rs:
##########
@@ -603,6 +674,16 @@ pub fn read_record_batch(
     let field_nodes = batch.nodes().ok_or_else(|| {
         ArrowError::IoError("Unable to get field nodes from IPC 
RecordBatch".to_string())
     })?;
+    let option_compression = batch.compression();
+    let compression_codec = match option_compression {
+        None => CompressionCodecType::NoCompression,
+        Some(compression) => match compression.codec() {
+            CompressionType::ZSTD => CompressionCodecType::Zstd,
+            CompressionType::LZ4_FRAME => CompressionCodecType::Lz4Frame,
+            _ => CompressionCodecType::NoCompression,

Review Comment:
   No, in current version, just support the LZ4 and zstd.



-- 
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]

Reply via email to