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

Hyukjin Kwon updated SPARK-62198:
---------------------------------
    Fix Version/s: connect-rust-4.4.0

> Log the records of PySpark's client of its plans, requests and responses, and 
> send the call stack of SPARK_CONNECT_DEBUG_CLIENT_CALL_STACK, in the Python 
> client
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62198
>                 URL: https://issues.apache.org/jira/browse/SPARK-62198
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: connect-rust-4.4.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>             Fix For: connect-rust-4.4.0
>
>
> With SPARK_CONNECT_LOG_LEVEL or a level of the logger of 
> pyspark.sql.connect.logging, pyspark-client 4.3.0 logs the plans, the 
> requests and the responses of its calls at debug level (Executing plan ..., 
> ExecuteAndFetchAsIterator. Request: ..., Received the schema., Plan 
> compression threshold: ..., and the others), the deadlines at info level, and 
> its retries and errors. The drop-in logs only the retries and the errors, as 
> its Rust transport builds and reads the rest. And with 
> SPARK_CONNECT_DEBUG_CLIENT_CALL_STACK, pyspark-client sends the user's call 
> stack in the user context extensions of its execute, analyze and config 
> requests, which the drop-in does not.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to