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 2022/03/21 02:28:00 UTC

[jira] [Reopened] (SPARK-38556) Disable Pandas usage logging for method calls inside @contextmanager functions

     [ https://issues.apache.org/jira/browse/SPARK-38556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon reopened SPARK-38556:
----------------------------------

Reverted at https://github.com/apache/spark/commit/dcc66e4b4933c3493be3c6f2bb0118cd1680b530 and and https://github.com/apache/spark/commit/1a720d30f77a8b63fe484c60fc4f4953f9ff1af8.

Ref: https://github.com/apache/spark/pull/35861#discussion_r830716928 

> Disable Pandas usage logging for method calls inside @contextmanager functions
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-38556
>                 URL: https://issues.apache.org/jira/browse/SPARK-38556
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 3.2.1
>            Reporter: Yihong He
>            Priority: Minor
>
> Currently, calls inside @contextmanager functions are treated as external for *with* statements.
> For example, the below code records config.set_option calls inside ps.option_context(...)
> {code:java}
> with ps.option_context("compute.ops_on_diff_frames", True):
>     pass {code}
> We should disable usage logging for calls inside @contextmanager functions to improve accuracy of the usage data
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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