Hyukjin Kwon created SPARK-22313:
------------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to