grundprinzip commented on code in PR #46996: URL: https://github.com/apache/spark/pull/46996#discussion_r1643379149
########## python/pyspark/sql/dataframe.py: ########## @@ -6281,6 +6282,10 @@ def toPandas(self) -> "PandasDataFrameLike": """ ... + @property + def queryExecution(self) -> Optional["QueryExecution"]: Review Comment: I added the version, for the optional part: - in scala QueryExecution is always present but then you have to check for `executedPlan` the thing I'm worried about is to bring this complexity to the client. The Query Execution object allows too much direct manipulation of the query that is not ideal. -- 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