Skip to content

Commit

Permalink
chore: Remove verify_dict_indices_slice from main (#20928)
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite authored Jan 27, 2025
1 parent eab0160 commit 176268e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use arrow::bitmap::bitmask::BitMask;
use arrow::bitmap::{Bitmap, MutableBitmap};
use arrow::types::AlignedBytes;

use super::{oob_dict_idx, verify_dict_indices, verify_dict_indices_slice, IndexMapping};
use super::{oob_dict_idx, verify_dict_indices, IndexMapping};
use crate::parquet::encoding::hybrid_rle::{HybridRleChunk, HybridRleDecoder};
use crate::parquet::error::ParquetResult;
use crate::read::PredicateFilter;
Expand Down Expand Up @@ -128,7 +128,7 @@ pub fn decode_multiple_no_values(
);
}

verify_dict_indices_slice(&unpacked[..n], dict_mask.len())?;
verify_dict_indices(&unpacked[..n], dict_mask.len())?;
pred_true_mask.extend(
unpacked[..n]
.iter()
Expand Down Expand Up @@ -214,7 +214,7 @@ pub fn decode_multiple_values<B: AlignedBytes, D: IndexMapping<Output = B>>(
if let Some(n) = chunked.next_into(&mut unpacked) {
debug_assert_eq!(n, size % 32);

verify_dict_indices_slice(&unpacked[..n], dict_mask.len())?;
verify_dict_indices(&unpacked[..n], dict_mask.len())?;
let mut count = 0;
pred_true_mask.extend(
unpacked[..n]
Expand Down

0 comments on commit 176268e

Please sign in to comment.