Skip to content

Commit

Permalink
Move kFillNullSentinel
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Nov 14, 2024
1 parent 13dc2d1 commit dc65397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/scalar_cast_nested.cc
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ struct CastFixedList {
};

struct CastStruct {
static constexpr int kFillNullSentinel = -2;

static Status Exec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
static constexpr int kFillNullSentinel = -2;

const CastOptions& options = CastState::Get(ctx);
const auto& in_type = checked_cast<const StructType&>(*batch[0].type());
const auto& out_type = checked_cast<const StructType&>(*out->type());
Expand Down

0 comments on commit dc65397

Please sign in to comment.