You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yihong He (Jira)" <ji...@apache.org> on 2022/03/15 15:58:00 UTC

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

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

Yihong He updated SPARK-38556:
------------------------------
    Description: 
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

 

  was:
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 disabl usage logging for calls inside @contextmanager functions to improve accuracy of the usage data

 


> Disable Pandas usage logging for 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