Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-52022

Add additional check in default method for SparkThrowable.getQueryContext

    XMLWordPrintableJSON

Details

    Description

      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)
      
      

      Seems like Py4J does not properly support default method access.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: