itholic commented on code in PR #46063: URL: https://github.com/apache/spark/pull/46063#discussion_r1566715537
########## python/pyspark/errors/utils.py: ########## @@ -119,3 +124,59 @@ def get_message_template(self, error_class: str) -> str: message_template = main_message_template + " " + sub_message_template return message_template + + +def _capture_call_site(fragment: str) -> None: + """ + Capture the call site information including file name, line number, and function name. + This function updates the thread-local storage from server side (PySparkCurrentOrigin) Review Comment: I wanted to mention JVM side. Let me clarify it -- 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