Skip to content

Commit

Permalink
remove oblolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
leiysky committed May 7, 2022
1 parent 8ec8b03 commit 26c452b
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ use std::sync::Arc;
use std::sync::Mutex;
use std::sync::RwLock;

use common_arrow::arrow::bitmap::Bitmap;
use common_datablocks::DataBlock;
use common_datablocks::HashMethod;
use common_datablocks::HashMethodKind;
use common_datavalues::combine_validities;
use common_datavalues::ColumnRef;
use common_datavalues::DataSchemaRef;
use common_datavalues::DataTypeImpl;
Expand Down Expand Up @@ -197,12 +195,6 @@ impl HashJoinState for ChainHashTable {

let hash_values = self.hash(&build_keys, input.num_rows())?;

let mut null_bitmap: Option<Bitmap> = None;
for column in build_keys.iter() {
let (_, bitmap) = column.validity();
null_bitmap = combine_validities(null_bitmap.as_ref(), bitmap);
}

self.row_space.push(input, hash_values)?;

Ok(())
Expand Down

0 comments on commit 26c452b

Please sign in to comment.