Skip to content

Commit

Permalink
Re-exported the bloom_filter module from parquet2 crate (jorgecar…
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgrakkurt authored and ritchie46 committed Apr 5, 2023
1 parent f87e9d2 commit 9296f39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ io_parquet_lz4_flex = ["parquet2/lz4_flex"]
io_parquet_lz4 = ["parquet2/lz4"]
io_parquet_brotli = ["parquet2/brotli"]

# parquet bloom filter functions
io_parquet_bloom_filter = ["parquet2/bloom_filter"]

io_avro = ["avro-schema", "streaming-iterator"]
io_avro_compression = [
"avro-schema/compression",
Expand Down
4 changes: 4 additions & 0 deletions src/io/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ use crate::error::Error;
pub mod read;
pub mod write;

#[cfg(feature = "io_parquet_bloom_filter")]
#[cfg_attr(docsrs, doc(cfg(feature = "io_parquet_bloom_filter")))]
pub use parquet2::bloom_filter;

const ARROW_SCHEMA_META_KEY: &str = "ARROW:schema";

impl From<parquet2::error::Error> for Error {
Expand Down

0 comments on commit 9296f39

Please sign in to comment.