You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/10/19 09:18:00 UTC

[jira] [Commented] (SPARK-22313) Mark/print deprecation warnings as DeprecationWarning for deprecated APIs

    [ https://issues.apache.org/jira/browse/SPARK-22313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210759#comment-16210759 ] 

Apache Spark commented on SPARK-22313:
--------------------------------------

User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/19535

> Mark/print deprecation warnings as DeprecationWarning for deprecated APIs
> -------------------------------------------------------------------------
>
>                 Key: SPARK-22313
>                 URL: https://issues.apache.org/jira/browse/SPARK-22313
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Minor
>
> Currently, some {{warnings.warn(...)}} for deprecation use the category {{UserWarning}} as by default.
> If we use {{DeprecationWarning}}, this can actually be useful in IDE, in my case, PyCharm. Please see before and after in the PR. I happened to open a PR first to show my idea.
> Also, looks some deprecated functions do not have this warnings. It might be better to print out those explicitly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org