csurong commented on code in PR #29245:
URL: https://github.com/apache/flink/pull/29245#discussion_r4059104545


##########
flink-python/pyflink/dataframe/dataframe.py:
##########
@@ -1369,6 +1369,125 @@ def columns(self) -> List[str]:
 
     # ======================== I/O ========================
 
+    @PublicEvolving()
+    def write_parquet(
+        self,
+        path: str,
+        *,
+        mode: str = "overwrite",
+        compression: str = "SNAPPY",

Review Comment:
   Parquet now accepts `format_options` too. I used `connector_options` for 
advanced sink options to keep the naming consistent across readers and writers. 
Defaults are applied after user options, so `format_options={"compression": 
"GZIP"}` is preserved rather than overwritten by the SNAPPY default.



-- 
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]

Reply via email to