You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/10/26 05:14:13 UTC
[GitHub] [spark] itholic commented on a change in pull request #34389: [SPARK-37036][PYTHON] Add util function to raise advice warning for pandas API on Spark.
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org