Skip to content

Commit

Permalink
fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed Nov 8, 2022
1 parent 371a125 commit 3032946
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 67 deletions.
67 changes: 0 additions & 67 deletions datafusion-cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions datafusion/core/src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ pub fn partitioned_file_groups(
FileCompressionType::BZIP2 => {
Box::new(BzEncoder::new(file, BzCompression::default()))
}
#[cfg(not(feature = "compression"))]
FileCompressionType::GZIP
| FileCompressionType::BZIP2
| FileCompressionType::XZ => {
panic!("GZIP compression is not supported in this build")
}
};

let writer = BufWriter::new(encoder);
Expand Down

0 comments on commit 3032946

Please sign in to comment.