Skip to content

Commit

Permalink
feat: add convert_to_delta
Browse files Browse the repository at this point in the history
Add a convert_to_delta operation for converting a Parquet table to a Delta
Table in place.
  • Loading branch information
junjunjd committed Nov 1, 2023
1 parent 60d757f commit 4265e4f
Show file tree
Hide file tree
Showing 6 changed files with 830 additions and 2 deletions.
3 changes: 3 additions & 0 deletions crates/deltalake-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ pub use protocol::checkpoints;
#[cfg(feature = "integration_test")]
pub mod test_utils;

#[cfg(feature = "parquet")]
const NULL_PARTITION_VALUE_DATA_PATH: &str = "__HIVE_DEFAULT_PARTITION__";

/// Creates and loads a DeltaTable from the given path with current metadata.
/// Infers the storage backend to use from the scheme in the given table path.
pub async fn open_table(table_uri: impl AsRef<str>) -> Result<DeltaTable, DeltaTableError> {
Expand Down
Loading

0 comments on commit 4265e4f

Please sign in to comment.