You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/10/24 03:46:00 UTC
[jira] [Resolved] (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 ]
Hyukjin Kwon resolved SPARK-22313.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
Issue resolved by pull request 19535
[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
> Fix For: 2.3.0
>
>
> 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