Chen-Yuan-Lai commented on issue #14432: URL: https://github.com/apache/datafusion/issues/14432#issuecomment-2756950533
> And now `err2` would be a `Diagnostic(ExecError)` and `err3` would be a `Diagnostic(PlanError)`. > > I'm not sure if this would work or make for a good implementation, but I hope it can help in any way :) This approach sounds great! but in this case, I still need to get argument numbers in the `take_function_args` (err1), so I finally just cloned the diagnostic and reattached it to the outer error. 😆 -- 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