Skip to content

Commit

Permalink
fixup! fixup! fixup! Apply clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Nov 28, 2024
1 parent 6679f77 commit e84cb8a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion datafusion/functions-nested/src/concat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ fn concat_internal<O: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef> {
Ok(Arc::new(list_arr))
}

/// Kernal functions
// Kernal functions

/// Array_append SQL function
pub(crate) fn array_append_inner(args: &[ArrayRef]) -> Result<ArrayRef> {
Expand Down
1 change: 0 additions & 1 deletion datafusion/functions-nested/src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ fn get_element_type(data_type: &DataType) -> Result<&DataType> {
/// | +-------+ | | +-------+ |
/// +-----------+ +-----------+
/// ```text

fn make_map_array_internal<O: OffsetSizeTrait>(
keys: ArrayRef,
values: ArrayRef,
Expand Down
1 change: 0 additions & 1 deletion datafusion/optimizer/src/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ use crate::utils::log_plan;
///
/// [`AnalyzerRule`]: crate::analyzer::AnalyzerRule
/// [`SessionState::add_optimizer_rule`]: https://docs.rs/datafusion/latest/datafusion/execution/session_state/struct.SessionState.html#method.add_optimizer_rule

pub trait OptimizerRule: Debug {
/// Try and rewrite `plan` to an optimized form, returning None if the plan
/// cannot be optimized by this rule.
Expand Down
2 changes: 0 additions & 2 deletions datafusion/optimizer/src/replace_distinct_aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ use datafusion_expr::{Aggregate, Distinct, DistinctOn, Expr, LogicalPlan};
/// )
/// ORDER BY a DESC
/// ```

/// Optimizer that replaces logical [[Distinct]] with a logical [[Aggregate]]
#[derive(Default, Debug)]
pub struct ReplaceDistinctWithAggregate {}

Expand Down
1 change: 0 additions & 1 deletion datafusion/physical-plan/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ use tokio::task::JoinSet;
/// 3. Automatically cancels any outstanding tasks when the receiver stream is dropped.
///
/// [`ReceiverStream` from tokio-stream]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.ReceiverStream.html

pub(crate) struct ReceiverStreamBuilder<O> {
tx: Sender<Result<O>>,
rx: Receiver<Result<O>>,
Expand Down
2 changes: 0 additions & 2 deletions datafusion/physical-plan/src/test/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -714,8 +714,6 @@ pub async fn assert_strong_count_converges_to_zero<T>(refs: Weak<T>) {
.unwrap();
}

///

/// Execution plan that emits streams that panics.
///
/// This is useful to test panic handling of certain execution plans.
Expand Down

0 comments on commit e84cb8a

Please sign in to comment.