HyukjinKwon commented on code in PR #42513: URL: https://github.com/apache/spark/pull/42513#discussion_r1299463703
########## python/pyspark/sql/dataframe.py: ########## @@ -3793,6 +3793,8 @@ def union(self, other: "DataFrame") -> "DataFrame": Example 2: Combining two DataFrames with different schemas >>> from pyspark.sql.functions import lit + >>> old_value = spark.conf.get("spark.sql.ansi.enabled") + >>> spark.conf.set("spark.sql.ansi.enabled", "false") Review Comment: can we fix the example instead of disabling? -- 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