Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JerAguilon committed May 30, 2024
1 parent 7709b38 commit ffe38b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/src/arrow/acero/unmaterialized_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ class UnmaterializedCompositeTable {
arrow::Result<std::vector<CompositeEntry>> FlattenSlices(int table_index) {
std::vector<CompositeEntry> flattened_blocks;

arrow::RecordBatch* active_rb = nullptr;
arrow::RecordBatch* active_rb = NULL;
size_t start = -1;
size_t end = -1;

for (const auto& slice : slices) {
const auto& [batch, block_start, block_end] = slice.components[table_index];
if (active_rb == nullptr) {
if (active_rb == NULL) {
active_rb = batch;
start = block_start;
end = block_end;
Expand All @@ -252,7 +252,7 @@ class UnmaterializedCompositeTable {
start = block_start;
end = block_end;
}
DCHECK_NE(active_rb, nullptr);
DCHECK_NE(active_rb, NULL);
}
// flush the last batch
flattened_blocks.push_back({active_rb, start, end});
Expand Down

0 comments on commit ffe38b0

Please sign in to comment.