diff --git a/python/deltalake/__init__.py b/python/deltalake/__init__.py index a0d2b346b2..b10a708309 100644 --- a/python/deltalake/__init__.py +++ b/python/deltalake/__init__.py @@ -6,5 +6,5 @@ from .schema import Schema as Schema from .table import DeltaTable as DeltaTable from .table import Metadata as Metadata -from .writer import write_deltalake as write_deltalake from .writer import convert_to_deltalake as convert_to_deltalake +from .writer import write_deltalake as write_deltalake diff --git a/python/src/lib.rs b/python/src/lib.rs index 773b5e45aa..9e7d63f8d3 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -1193,7 +1193,7 @@ fn write_new_deltalake( #[allow(clippy::too_many_arguments)] fn convert_to_deltalake( uri: String, - mode: &str, + // mode: &str, _partition_schema: Option>, partition_strategy: Option, name: Option, @@ -1202,10 +1202,9 @@ fn convert_to_deltalake( storage_options: Option>, custom_metadata: Option>, ) -> PyResult<()> { - let mode = save_mode_from_str(mode)?; - let mut builder = ConvertToDeltaBuilder::new() - .with_location(uri) - .with_save_mode(mode); + // let mode = save_mode_from_str(mode)?; + let mut builder = ConvertToDeltaBuilder::new().with_location(uri); + // .with_save_mode(mode); // if let Some(part_schema) = partition_schema { // builder = builder.with_partition_schema(part_schema); // Convert type properly in struct field