Skip to content

Commit

Permalink
Clippy, doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Dandandan committed Oct 2, 2023
1 parent e31718e commit 40ef448
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions datafusion/physical-plan/src/topk/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ use arrow::{
};
use std::{cmp::Ordering, collections::BinaryHeap, sync::Arc};

use arrow_array::{
builder::StringBuilder, cast::AsArray, downcast_dictionary_array, Array, ArrayRef,
DictionaryArray, Int16Array, Int32Array, Int64Array, Int8Array, RecordBatch,
StringArray, UInt16Array, UInt32Array, UInt64Array, UInt8Array,
};
use arrow_schema::{DataType, SchemaRef};
use arrow_array::{Array, ArrayRef, RecordBatch};
use arrow_schema::SchemaRef;
use datafusion_common::Result;
use datafusion_execution::{
memory_pool::{MemoryConsumer, MemoryReservation},
Expand All @@ -55,7 +51,7 @@ use super::metrics::{BaselineMetrics, Count, ExecutionPlanMetricsSet, MetricBuil
///
/// The simple plan would be:
///
/// ```
/// ```sql
/// > explain SELECT customer_id, revenue FROM sales ORDER BY revenue DESC limit 3;
/// +--------------+----------------------------------------+
/// | plan_type | plan |
Expand Down

0 comments on commit 40ef448

Please sign in to comment.