Skip to content

Commit

Permalink
DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
R-JunmingChen committed Aug 30, 2023
1 parent cfbb4ce commit 021223b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cpp/src/arrow/compute/api_scalar.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ class ARROW_EXPORT SetLookupOptions : public FunctionOptions {
enum NullMatchingBehavior { MATCH, SKIP, EMIT_NULL, INCONCLUSIVE };

explicit SetLookupOptions(Datum value_set, NullMatchingBehavior = MATCH);
ARROW_DEPRECATED("will be removed after removing of skip_nulls")
explicit SetLookupOptions(Datum value_set, bool skip_nulls);
SetLookupOptions();

ARROW_DEPRECATED("Will be removed after removing of skip_nulls")
explicit SetLookupOptions(Datum value_set, bool skip_nulls);

static constexpr char const kTypeName[] = "SetLookupOptions";

/// The set of values to look up input values into.
Expand All @@ -294,16 +296,16 @@ class ARROW_EXPORT SetLookupOptions : public FunctionOptions {
/// (IndexIn and IsIn) in the output.
NullMatchingBehavior null_matching_behavior;

ARROW_DEPRECATED("will be removed after removing of skip_nulls")
ARROW_DEPRECATED("Will be removed after removing of skip_nulls")
NullMatchingBehavior GetNullMatchingBehavior() const;

// DEPRECATED(use null_matching_behavior instead)
/// Whether nulls in `value_set` count for lookup.
///
/// If true, any null in `value_set` is ignored and nulls in the input
/// produce null (IndexIn) or false (IsIn) values in the output.
/// If false, any null in `value_set` is successfully matched in
/// the input.
ARROW_DEPRECATED("use null_matching_behavior instead")
std::optional<bool> skip_nulls;
};

Expand Down

0 comments on commit 021223b

Please sign in to comment.