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