-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix clippy warnings #581
fix clippy warnings #581
Conversation
@@ -248,12 +248,14 @@ where | |||
} | |||
|
|||
impl ToDFSchema for Schema { | |||
#[allow(clippy::wrong_self_convention)] |
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.
maybe it's a better idea to remove https://github.com/apache/arrow-datafusion/pull/581/files#diff-54ef5cfee73dd6cdbd9186bbf5931f4e375ccf002f956d1fe8bf35deafaf56a6R244
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.
I don't understand the suggestion
d1c79cf
to
2dfb81e
Compare
03b645c
to
3bd136c
Compare
3bd136c
to
0b1905e
Compare
2ff3716
to
5a0f93d
Compare
Maybe for the moment it is wise to temporarily disable coverage task in CI? |
Not sure what the coverage failure was: https://github.com/apache/arrow-datafusion/pull/581/checks?check_run_id=2858343109 I restarted the tests |
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.
Thank you @jimexist
@@ -248,12 +248,14 @@ where | |||
} | |||
|
|||
impl ToDFSchema for Schema { | |||
#[allow(clippy::wrong_self_convention)] |
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.
I don't understand the suggestion
.github/workflows/rust.yml
Outdated
# 2020-11-15: There is a cargo-tarpaulin regression in 0.17.0 | ||
# see https://github.com/xd009642/tarpaulin/issues/618 | ||
cargo install --version 0.16.0 cargo-tarpaulin | ||
cargo install --version 0.18.0-alpha3 cargo-tarpaulin |
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.
I don't understand this change. It seems to cause an error in CI, right?: https://github.com/apache/arrow-datafusion/pull/581/checks?check_run_id=2858343109
Maybe we could put the old version of tarpaulin back?
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.
It was failing either way so this line diff was my attempt to fix it in vain
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.
I see -- in that case it does seem like disabling code coverage until it is fixed is the right thing to do, and we can file an issue to re-enable it once whatever underlying issue is fixed
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.
Filed #590 to fix code coverage job. Will disable it via this PR
I tried several times and the error persists - not sure why given the fixture is now raw string so escaping should be out of picture |
Thanks again @jimexist |
Which issue does this PR close?
Closes #583
Closes #582
Rationale for this change
newest clippy will generate additional warnings on master
What changes are included in this PR?
Are there any user-facing changes?