Skip to content

Commit

Permalink
macthed all data
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTan25 committed Nov 6, 2023
1 parent 96cd7c6 commit a93cc9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ impl AccumulateRowNumber {
// if matched all source data, we will get an empty block, but which
// has source join schema,not only row_number,for combound_block project,
// it will do nothing for empty block.
assert_eq!(data_block.num_columns(), 1);
if !data_block.is_empty() {
assert_eq!(data_block.num_columns(), 1);
}
assert_eq!(
data_block.get_by_offset(0).data_type,
DataType::Number(NumberDataType::UInt64)
Expand Down

0 comments on commit a93cc9e

Please sign in to comment.