Skip to content

Commit

Permalink
fmt & clippy warns fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
korowa committed Nov 4, 2023
1 parent 322db73 commit 447180d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion datafusion/physical-plan/src/joins/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,9 @@ mod tests {

use arrow::array::{ArrayRef, Date32Array, Int32Array, UInt32Builder, UInt64Builder};
use arrow::datatypes::{DataType, Field, Schema};
use datafusion_common::{assert_batches_eq, assert_batches_sorted_eq, assert_contains, ScalarValue};
use datafusion_common::{
assert_batches_eq, assert_batches_sorted_eq, assert_contains, ScalarValue,
};
use datafusion_execution::config::SessionConfig;
use datafusion_execution::runtime_env::{RuntimeConfig, RuntimeEnv};
use datafusion_expr::Operator;
Expand Down
1 change: 1 addition & 0 deletions datafusion/physical-plan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ pub fn unbounded_output(plan: &Arc<dyn ExecutionPlan>) -> bool {
}

#[cfg(test)]
#[allow(clippy::single_component_path_imports)]
use rstest_reuse;

pub mod test;
2 changes: 1 addition & 1 deletion datafusion/physical-plan/src/test/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl BatchIndex {

/// Iterator over batches
#[derive(Debug, Default)]
pub(crate) struct TestStream {
pub struct TestStream {
/// Vector of record batches
data: Vec<RecordBatch>,
/// Index into the data that has been returned so far
Expand Down

0 comments on commit 447180d

Please sign in to comment.