You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/30 08:37:08 UTC

[GitHub] [arrow-datafusion] crepererum opened a new issue, #4435: Helper to get "root" error

crepererum opened a new issue, #4435:
URL: https://github.com/apache/arrow-datafusion/issues/4435

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   It would be nice to get the typed "original" error, even when it is wrapped into a chain of `ExternalError`, `ArrowError`, `Arc` etc. The original error could be used to generate HTTP status codes in certain situations, e.g. "resource exhausted".
   
   **Describe the solution you'd like**
   ```rust
   impl DataFusionError {
       /// Get underlying error.
       ///
       /// This may be the same as `self`.
       pub fn find_root(&self) -> &Self {...}
   }
   ```
   
   **Describe alternatives you've considered**
   String parsing? Sounds like bad code smell.
   
   **Additional context**
   See #4434 for improvements on the error generation. See #3940 for an application.
   


-- 
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-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] mingmwang commented on issue #4435: Helper to get "root" error

Posted by GitBox <gi...@apache.org>.
mingmwang commented on issue #4435:
URL: https://github.com/apache/arrow-datafusion/issues/4435#issuecomment-1331843018

   There was a similar ticket I raised before.
   
   https://github.com/apache/arrow-datafusion/issues/3410
   


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] crepererum commented on issue #4435: Helper to get "root" error

Posted by GitBox <gi...@apache.org>.
crepererum commented on issue #4435:
URL: https://github.com/apache/arrow-datafusion/issues/4435#issuecomment-1331809447

   FYI: I have an improved implementation of what we have in InfluxDB IOx. It just needs some clean ups and I'll file a PR for that.


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #4435: Helper to get "root" error

Posted by GitBox <gi...@apache.org>.
alamb closed issue #4435: Helper to get "root" error
URL: https://github.com/apache/arrow-datafusion/issues/4435


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org