Skip to content

Commit 3f09582

Browse files
committed
Lint format.
1 parent 375f61b commit 3f09582

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

cpp/src/arrow/compute/api_vector.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,9 @@ class ARROW_EXPORT ListFlattenOptions : public FunctionOptions {
298298
/// \brief Options for inverse_permutation function
299299
class ARROW_EXPORT InversePermutationOptions : public FunctionOptions {
300300
public:
301-
explicit InversePermutationOptions(int64_t max_index = -1,
302-
std::optional<std::shared_ptr<DataType>> output_type = std::nullopt);
301+
explicit InversePermutationOptions(
302+
int64_t max_index = -1,
303+
std::optional<std::shared_ptr<DataType>> output_type = std::nullopt);
303304
static constexpr const char kTypeName[] = "InversePermutationOptions";
304305
static InversePermutationOptions Defaults() { return InversePermutationOptions(); }
305306

cpp/src/arrow/compute/function_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ static inline Result<std::shared_ptr<Scalar>> GenericToScalar(
347347
static inline Result<std::shared_ptr<Scalar>> GenericToScalar(
348348
const std::shared_ptr<DataType>& value) {
349349
if (!value) {
350-
return Status::Invalid("shared_ptr<DataType> is nullptr");
350+
return Status::Invalid("shared_ptr<DataType> is nullptr");
351351
}
352352
return MakeNullScalar(value);
353353
}

cpp/src/arrow/compute/kernels/vector_swizzle.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Result<TypeHolder> ResolveInversePermutationOutputType(
5151
DCHECK_EQ(input_types.size(), 1);
5252
DCHECK_NE(input_types[0], nullptr);
5353

54-
std::shared_ptr<DataType> output_type =
55-
InversePermutationState::Get(ctx).output_type.value_or(input_types[0].owned_type);
54+
std::shared_ptr<DataType> output_type =
55+
InversePermutationState::Get(ctx).output_type.value_or(input_types[0].owned_type);
5656
if (!is_signed_integer(output_type->id())) {
5757
return Status::TypeError(
5858
"Output type of inverse_permutation must be signed integer, got " +

0 commit comments

Comments
 (0)