andygrove commented on issue #1583: URL: https://github.com/apache/datafusion-comet/issues/1583#issuecomment-2778710340
Hi @Neuw84 it would be great to collaborate on this. I have a basic PR up with instructions. Could you help review? https://github.com/apache/datafusion-comet/pull/1601 The error you are seeing is partially a Comet bug. The following shim code assumes that it will find a method named `initQueryContext`, but it seems that it does not in your environment. The call to `head` should be replaced with `headOption`, and then an error should be thrown if this is `None`. ```scala aggregate.getClass.getDeclaredMethods .flatMap(m => m.getName match { case "initQueryContext" => Some(m.invoke(aggregate).asInstanceOf[Option[_]].isDefined) case _ => None }) .head ``` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org