itholic opened a new pull request, #47009:
URL: https://github.com/apache/spark/pull/47009

   
   ### What changes were proposed in this pull request?
   
   This PR proposes to display correct call site information from IPython 
Notebook.
   
   ### Why are the changes needed?
   
   We added `DataFrameQueryContext` for PySpark error message from 
https://github.com/apache/spark/pull/45377, but it does not working very well 
from IPython Notebook.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No API changes, but the user-facing error message from IPython Notebook will 
be improved:
   
   **Before**
   <img width="1124" alt="Screenshot 2024-06-18 at 5 15 56 PM" 
src="https://github.com/apache/spark/assets/44108233/3e3aee2c-5bb0-4858-b392-e845b7280d31";>
   
   
   **After**
   <img width="1121" alt="Screenshot 2024-06-18 at 5 14 36 PM" 
src="https://github.com/apache/spark/assets/44108233/2560726a-bb6f-4f7b-8604-49ef9e4339b8";>
   
   
   
   ### How was this patch tested?
   
   Manually tested with IPython Notebook.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to