rambleraptor commented on code in PR #3381:
URL: https://github.com/apache/iceberg-python/pull/3381#discussion_r3327079687
##########
pyiceberg/io/pyarrow.py:
##########
@@ -2602,21 +2609,91 @@ def data_file_statistics_from_parquet_metadata(
)
+class ParquetFormatWriter(FileFormatWriter):
+ """Writes Arrow tables to a Parquet file."""
+
+ def __init__(self, output_file: OutputFile, file_schema: Schema,
properties: Properties) -> None:
+ self._output_file = output_file
+ self._file_schema = file_schema
+ self._properties = properties
+ self._writer: pq.ParquetWriter | None = None
Review Comment:
Why not setup the writer here if it's set to None?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]