Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
avantgardnerio committed Sep 13, 2023
1 parent 797ee30 commit 7ae54c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ impl<ID: KeyType> HashTableItem<ID> {
}
}

#[allow(dead_code)]
#[cfg(test)]
fn map_print<ID: KeyType>(map: &RawTable<HashTableItem<ID>>) {
use itertools::Itertools;
Expand Down
7 changes: 0 additions & 7 deletions datafusion/core/src/physical_plan/aggregates/topk/heap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ impl<VAL: ValueType> TopKHeap<VAL> {
self.heap[0].as_ref().map(|hi| hi.map_idx).unwrap_or(0)
}

#[allow(dead_code)]
pub fn len(&self) -> usize {
self.len
}

#[allow(dead_code)]
pub fn is_full(&self) -> bool {
self.len >= self.capacity
}
Expand Down Expand Up @@ -334,7 +328,6 @@ impl<VAL: ValueType> TopKHeap<VAL> {
valid
}

#[allow(dead_code)]
#[cfg(test)]
pub fn tree_print(&self) -> String {
let mut builder = ptree::TreeBuilder::new("BinaryHeap".to_string());
Expand Down

0 comments on commit 7ae54c8

Please sign in to comment.