You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2024/07/31 21:59:54 UTC
[I] Switch From Snafu to thiserror [arrow-rs]
tustvold opened a new issue, #6166:
URL: https://github.com/apache/arrow-rs/issues/6166
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
<!--
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*)
-->
Currently snafu is part of the public API of object_store. This is unfortunate as it is a pre-1.0 crate and is making breaking releases. We also make relatively limited use of its functionality, with quite a lot of use of `context(false)`.
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
I'd like to propose switching to using thiserror, as I think this would have some advantages:
* It is a 1.0.0 release
* It doesn't expose anything beyond implementing the `Error` trait
* It has broader ecosystem adoption than Snafu
* It has a potentially less steep learning curve
**Describe alternatives you've considered**
<!--
A clear and concise description of any alternative solutions or features you've considered.
-->
We could not do this.
**Additional context**
<!--
Add any other context or screenshots about the feature request here.
-->
--
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
Re: [I] Switch From Snafu to thiserror [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #6166:
URL: https://github.com/apache/arrow-rs/issues/6166#issuecomment-2286582542
Now we just need someone who wants to do the work
--
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
Re: [I] Switch From Snafu to thiserror [arrow-rs]
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #6166: Switch From Snafu to thiserror
URL: https://github.com/apache/arrow-rs/issues/6166
--
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
Re: [I] Switch From Snafu to thiserror [arrow-rs]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #6166:
URL: https://github.com/apache/arrow-rs/issues/6166#issuecomment-2288063599
I'm willing to take this.
--
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
Re: [I] Switch From Snafu to thiserror [arrow-rs]
Posted by "crepererum (via GitHub)" <gi...@apache.org>.
crepererum commented on issue #6166:
URL: https://github.com/apache/arrow-rs/issues/6166#issuecomment-2286106795
> It has broader ecosystem adoption than Snafu
By approximately 10x.
This is `snafu`:

And this is `thiserror`:

--
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
Re: [I] Switch From Snafu to thiserror [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #6166:
URL: https://github.com/apache/arrow-rs/issues/6166#issuecomment-2265614775
this seems fine to me
--
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