From 69dfbed5b1ded401c5218b749c9e3f9d9b83f1c7 Mon Sep 17 00:00:00 2001 From: ion-elgreco <15728914+ion-elgreco@users.noreply.github.com> Date: Sat, 4 Nov 2023 23:25:13 +0100 Subject: [PATCH] use module directly --- python/deltalake/writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/deltalake/writer.py b/python/deltalake/writer.py index 8bd878e61a..688bd35fde 100644 --- a/python/deltalake/writer.py +++ b/python/deltalake/writer.py @@ -346,7 +346,7 @@ def validate_batch(batch: pa.RecordBatch) -> pa.RecordBatch: if file_options is not None: file_options.update(use_compliant_nested_type=False) else: - file_options = pa.dataset.ParquetFileFormat().make_write_options( + file_options = ds.ParquetFileFormat().make_write_options( use_compliant_nested_type=False )