Skip to content
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

Fixes for clippy 1.71 #6959

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Fixes for clippy 1.71 #6959

merged 1 commit into from
Jul 13, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jul 13, 2023

Which issue does this PR close?

Closes #6958

Rationale for this change

Clippy got an upgrade and was complaining about new things

What changes are included in this PR?

Do what clippy told me: implement a Default and move something in tests

Are these changes tested?

Are there any user-facing changes?

@alamb alamb marked this pull request as ready for review July 13, 2023 17:18
@github-actions github-actions bot added sql SQL Planner physical-expr Physical Expressions labels Jul 13, 2023
@@ -68,6 +68,15 @@ const SEED: RandomState = RandomState::with_seeds(
0x0eaea5d736d733a4_u64,
);

impl<T> Default for HyperLogLog<T>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why clippy wants this, but here it is

@@ -4161,3 +4154,10 @@ impl TableSource for EmptyTable {
self.table_schema.clone()
}
}

#[cfg(test)]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved this to the end of the file

@alamb alamb merged commit af26c66 into apache:main Jul 13, 2023
@alamb alamb deleted the alamb/fix_clippy branch July 13, 2023 17:58
This was referenced Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions sql SQL Planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clippy failure on master
2 participants