Skip to content

Commit

Permalink
fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Oct 5, 2024
1 parent 90cb038 commit c2dcb60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,13 @@ impl GeneratedSessionContextBuilder {
}

/// The generated params for [`SessionContext`]
#[derive(Debug, Clone, Copy)]
#[derive(Debug)]
#[allow(dead_code)]
pub struct SessionContextParams {
pub batch_size: usize,
pub target_partitions: usize,
pub sort_hint: bool,
pub skip_partial_params: SkipPartialParams,
batch_size: usize,
target_partitions: usize,
sort_hint: bool,
skip_partial_params: SkipPartialParams,
}

/// Partial skipping parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl AggregationFuzzer {
/// (disable all possible optimizations for ensuring correctness).
///
/// - `ctx`, a randomly generated [`SessionContext`], `sql` will be run
/// on it after, and check if the result is equal to expected.
/// on it after, and check if the result is equal to expected.
///
/// - `sql`, test query represented by sql
///
Expand Down

0 comments on commit c2dcb60

Please sign in to comment.