Chen-Yuan-Lai commented on PR #15946: URL: https://github.com/apache/datafusion/pull/15946#issuecomment-2871094058
### Summary of this change 1. **Enhancement of `DataFusionError` Enum Variants** * Updated the `ExecutionJoin` and `External` variants to maintain consistent backtrace handling 2. **Addition of Utility Method for Error Processing** * Implemented a new method `DataFusionError::box_error_if_needed()` that handles: - Automatic boxing for regular error types - Prevention of double-boxing for already boxed errors - Support for string-based error messages 3. **Improvement of Error-related Macros** * Capture and include backtraces * Utilize the new `box_error_if_needed()` method * Replace all the usage with new macros -- 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