Skip to content

Commit

Permalink
MINOR: Remove unnecessary code in MultipathLevelBuilder::Write
Browse files Browse the repository at this point in the history
  • Loading branch information
js8544 committed Jan 16, 2023
1 parent fa2f45d commit 8a926b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/src/parquet/arrow/path_internal.cc
Original file line number Diff line number Diff line change
@@ -894,8 +894,6 @@ Status MultipathLevelBuilder::Write(const Array& array, bool array_field_nullabl
MultipathLevelBuilder::CallbackFunction callback) {
ARROW_ASSIGN_OR_RAISE(std::unique_ptr<MultipathLevelBuilder> builder,
MultipathLevelBuilder::Make(array, array_field_nullable));
PathBuilder constructor(array_field_nullable);
RETURN_NOT_OK(VisitArrayInline(array, &constructor));
for (int leaf_idx = 0; leaf_idx < builder->GetLeafCount(); leaf_idx++) {
RETURN_NOT_OK(builder->Write(leaf_idx, context, callback));
}

0 comments on commit 8a926b7

Please sign in to comment.