Yihong He created SPARK-38556:
---------------------------------

             Summary: 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


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

 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to