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:01 UTC

[jira] [Assigned] (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:all-tabpanel ]

Apache Spark reassigned SPARK-22313:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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