Skip to content

Commit

Permalink
Lint C++
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Dec 1, 2024
1 parent 902180b commit ec40819
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions cpp/src/arrow/array/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -951,29 +951,29 @@ Result<std::shared_ptr<Array>> MakeMaskArray(const std::shared_ptr<Array>& indic

switch (indices->type_id()) {
case Type::INT8:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<Int8Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<Int8Type>>(indices),
length, pool);
case Type::UINT8:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<UInt8Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<UInt8Type>>(indices),
length, pool);
case Type::INT16:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<Int16Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<Int16Type>>(indices),
length, pool);
case Type::UINT16:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<UInt16Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<UInt16Type>>(indices),
length, pool);
case Type::INT32:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<Int32Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<Int32Type>>(indices),
length, pool);
case Type::UINT32:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<UInt32Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<UInt32Type>>(indices),
length, pool);
case Type::INT64:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<Int64Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<Int64Type>>(indices),
length, pool);
case Type::UINT64:
return MakeMaskArrayImpl(
checked_pointer_cast<NumericArray<UInt64Type>>(indices), length, pool);
return MakeMaskArrayImpl(checked_pointer_cast<NumericArray<UInt64Type>>(indices),
length, pool);
default:
return Status::Invalid("Indices array must be of integer type");
}
Expand Down

0 comments on commit ec40819

Please sign in to comment.