diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 8f3ae9c36f9e..b00ca9780029 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -3663,10 +3663,10 @@ def write_delta( * See a list of supported storage options for Azure `here `__. delta_write_options Additional keyword arguments while writing a Delta lake Table. - See a list of supported write options `here `__. + See a list of supported write options `here `__. delta_merge_options Keyword arguments which are required to `MERGE` a Delta lake Table. - See a list of supported merge options `here `__. Raises ------ @@ -3742,9 +3742,9 @@ def write_delta( Merging dataframe to the local filesystem as a Delta Lake table. For a cloud object store just pass storage_options or a DeltaTable object. - For all additional TableMerger methods check the deltalake docs `here `__. - Schema evolution is currently not yet support in deltalake, therefore + Schema evolution is currently not yet supported in deltalake, therefore overwrite_schema won't have any effect during `MERGE`. >>> df = pl.DataFrame( @@ -3792,7 +3792,6 @@ def write_delta( raise ValueError( "You need to pass delta_merge_options with at least a given predicate for `MERGE` to work." ) - if isinstance(target, str): dt = DeltaTable(table_uri=target, storage_options=storage_options) else: