JonSnow1807 opened a new issue, #7615: URL: https://github.com/apache/datafusion-comet/issues/7615
### Describe the bug With #7607, `SparkMemory` keeps the first request to Spark that fails, and every later `try_grow` in the task fails with that exception. If an infallible `grow` fails and the task makes no later `try_grow`, the exception is still only logged, and the task can finish successfully. ### Expected behavior The task fails with the exception Spark threw, as it does when a later `try_grow` runs. ### Additional context Closing this means checking for the stored failure when a plan’s stream ends in `jni_api.rs`. That changes the JNI plan lifecycle, so it was left out of #7607. Part of #7244. ### Willingness to contribute Yes. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
