Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arrow-avro compilation without default features #6819

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions arrow-avro/src/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

use arrow_schema::ArrowError;
use flate2::read;
use std::io;
use std::io::Read;

Expand All @@ -35,7 +34,7 @@ impl CompressionCodec {
match self {
#[cfg(feature = "deflate")]
CompressionCodec::Deflate => {
let mut decoder = read::DeflateDecoder::new(block);
let mut decoder = flate2::read::DeflateDecoder::new(block);
let mut out = Vec::new();
decoder.read_to_end(&mut out)?;
Ok(out)
Expand Down
Loading