itholic commented on a change in pull request #34389: URL: https://github.com/apache/spark/pull/34389#discussion_r736153554
########## File path: python/pyspark/pandas/utils.py ########## @@ -958,6 +962,12 @@ def compare_allow_null( return left.isNull() | right.isNull() | comp(left, right) +def raise_advice_warning( + message: str, +) -> None: + warnings.warn(message, PandasAPIOnSparkAdviceWarning) Review comment: Yeah, It's only issued once. -- 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