-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove eyre from daft-connect #3719
refactor: remove eyre from daft-connect #3719
Conversation
CodSpeed Performance ReportMerging #3719 will degrade performances by 10.25%Comparing Summary
Benchmarks breakdown
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3719 +/- ##
==========================================
- Coverage 77.91% 77.86% -0.05%
==========================================
Files 727 728 +1
Lines 91129 91269 +140
==========================================
+ Hits 71007 71071 +64
- Misses 20122 20198 +76
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just some minor "stylistic" nits.
@@ -477,7 +476,8 @@ impl SparkAnalyzer<'_> { | |||
let chunk = match ss { | |||
StreamState::Some(chunk) => chunk, | |||
StreamState::Waiting => { | |||
bail!("StreamReader is waiting for data, but a chunk was expected. This likely indicates that the spark provided data is incomplete.") | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we run the linter on this commit? Usually it catches and removes empty lines...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the formatter/linter is kinda bad at picking up newlines and such when using macros
src/daft-connect/src/error.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have lots of impl From<X> for ConnectError { .. }
in this file. May be worth considering implementing a derive macro in a future PR...
No description provided.