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

Hyukjin Kwon resolved SPARK-38556.
----------------------------------
    Target Version/s: 3.2.1, 3.3.0
          Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/35861

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to