Skip to content

Commit

Permalink
Update c_glib/arrow-glib/compute.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <[email protected]>
  • Loading branch information
R-JunmingChen and kou authored Aug 21, 2023
1 parent bb55eda commit 039eeed
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions c_glib/arrow-glib/compute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3346,11 +3346,7 @@ garrow_set_lookup_options_get_property(GObject *object,
g_value_set_object(value, priv->value_set);
break;
case PROP_SET_LOOKUP_OPTIONS_SKIP_NULLS:
if (!options->skip_nulls.has_value() || !options->skip_nulls.value()) {
g_value_set_boolean(value, false);
} else {
g_value_set_boolean(value, true);
}
g_value_set_boolean(value, options->skip_nulls.has_value() && options->skip_nulls.value());
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
Expand Down

0 comments on commit 039eeed

Please sign in to comment.