Skip to content

Commit

Permalink
feat: Add convert_to_delta
Browse files Browse the repository at this point in the history
- Add percent decoding
- Add convert_to_delta_path
- Add more unit tests
  • Loading branch information
junjunjd committed Oct 7, 2023
1 parent ac06ffa commit df20b56
Show file tree
Hide file tree
Showing 4 changed files with 360 additions and 129 deletions.
1 change: 0 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ tempfile = "3"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
utime = "0.3"
hyper = { version = "0.14", features = ["server"] }
test-case = "3.2.1"

[features]
azure = ["object_store/azure"]
Expand Down
2 changes: 2 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ pub use protocol::checkpoints;
#[cfg(feature = "integration_test")]
pub mod test_utils;

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 df20b56

Please sign in to comment.