tustvold commented on code in PR #5306:
URL: https://github.com/apache/arrow-rs/pull/5306#discussion_r1454200592
##########
arrow-avro/src/compression.rs:
##########
@@ -15,18 +15,69 @@
// specific language governing permissions and limitations
// under the License.
-use serde::{Deserialize, Serialize};
+use arrow_schema::ArrowError;
+use flate2::read;
+use std::io;
+use std::io::Read;
/// The metadata key used for storing the JSON encoded [`CompressionCodec`]
pub const CODEC_METADATA_KEY: &str = "avro.codec";
-#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
-#[serde(rename_all = "lowercase")]
+#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum CompressionCodec {
- Null,
Review Comment:
None of this is public yet, so this isn't a breaking change
--
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]