File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -298,8 +298,9 @@ class ARROW_EXPORT ListFlattenOptions : public FunctionOptions {
298298// / \brief Options for inverse_permutation function
299299class 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
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ static inline Result<std::shared_ptr<Scalar>> GenericToScalar(
347347static 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}
Original file line number Diff line number Diff 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 " +
You can’t perform that action at this time.
0 commit comments