Skip to content

Commit

Permalink
remove arrow2 as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
houqp committed Aug 29, 2022
1 parent 48165e8 commit 598f9dd
Show file tree
Hide file tree
Showing 5 changed files with 220 additions and 66 deletions.
205 changes: 148 additions & 57 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ parquet-format = "~4.0.0"
arrow = { version = "18", optional = true }
parquet = { version = "18", optional = true }

arrow2 = { version = "0.13", optional = true }
parquet2 = { version = "0.16", optional = true}

crossbeam = { version = "0", optional = true }
Expand Down
1 change: 1 addition & 0 deletions rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Optional cargo package features
- `azure` - enable the Azure storage backend to work with Delta Tables in Azure Data Lake Storage Gen2 accounts.
- `gcs` - enable the Google storage backend to work with Delta Tables in Google Cloud Storage.
- `datafusion-ext` - enable the `datafusion::datasource::TableProvider` trait implementation for Delta Tables, allowing them to be queried using [DataFusion](https://github.com/apache/arrow-datafusion).
- `parquet2` - use parquet2 for checkpoint deserialization. Since `arrow` and `parquet` features are enabled by default for backwards compatibility, this feature needs to be used with `--no-default-features`.


Development
Expand Down
5 changes: 0 additions & 5 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@

extern crate log;

#[cfg(all(feature = "arrow", feature = "arrow2"))]
compile_error!("Feature arrow and arrow2 are mutually exclusive and cannot be enabled together");

#[cfg(all(feature = "parquet", feature = "parquet2"))]
compile_error!(
"Feature parquet and parquet2 are mutually exclusive and cannot be enabled together"
Expand All @@ -99,8 +96,6 @@ pub mod writer;
#[cfg(all(feature = "arrow", feature = "parquet"))]
pub mod checkpoints;

#[cfg(feature = "arrow2")]
pub use arrow2;
#[cfg(feature = "parquet2")]
pub use parquet2;

Expand Down
Loading

0 comments on commit 598f9dd

Please sign in to comment.