Skip to content

Commit

Permalink
build(rust): Fix a feature gate for lz4 compression in `polars-parq…
Browse files Browse the repository at this point in the history
…uet` (#15565)
  • Loading branch information
ozgrakkurt authored Apr 10, 2024
1 parent dc415b0 commit 97c61fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-parquet/src/parquet/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub use super::parquet_bridge::{
};
use crate::parquet::error::{Error, Result};

#[cfg(any(feature = "snappy", feature = "l4z"))]
#[cfg(any(feature = "snappy", feature = "lz4"))]
fn inner_compress<G: Fn(usize) -> Result<usize>, F: Fn(&[u8], &mut [u8]) -> Result<usize>>(
input: &[u8],
output: &mut Vec<u8>,
Expand Down

0 comments on commit 97c61fe

Please sign in to comment.