grundprinzip commented on code in PR #46996: URL: https://github.com/apache/spark/pull/46996#discussion_r1650176474
########## python/pyspark/sql/connect/dataframe.py: ########## @@ -206,7 +208,10 @@ def _repr_html_(self) -> Optional[str]: @property def write(self) -> "DataFrameWriter": - return DataFrameWriter(self._plan, self._session) + def cb(qe: "ExecutionInfo") -> None: + self._execution_info = qe + + return DataFrameWriter(self._plan, self._session, cb) Review Comment: Yes, we should look at streaming as a follow up. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org