You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2025/05/07 03:31:00 UTC
[jira] [Resolved] (SPARK-52022) Add additional check in default method for SparkThrowable.getQueryContext
[ https://issues.apache.org/jira/browse/SPARK-52022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-52022.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 50807
[https://github.com/apache/spark/pull/50807]
> Add additional check in default method for SparkThrowable.getQueryContext
> -------------------------------------------------------------------------
>
> Key: SPARK-52022
> URL: https://issues.apache.org/jira/browse/SPARK-52022
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 4.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> {code}
> py4j.protocol.Py4JError: An error occurred while calling o91.getQueryContext. Trace:
> py4j.Py4JException: Method getQueryContext([]) does not exist
> at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:321)
> at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:329)
> at py4j.Gateway.invoke(Gateway.java:274)
> at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
> at py4j.commands.CallCommand.execute(CallCommand.java:79)
> at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:184)
> at py4j.ClientServerConnection.run(ClientServerConnection.java:108)
> at java.base/java.lang.Thread.run(Thread.java:840)
> {code}
> Seems like Py4J does not properly support default method access.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org