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 f129754 commit bf7c145
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions c_glib/arrow-glib/compute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6463,10 +6463,7 @@ garrow_set_lookup_options_new_raw(
arrow_copied_options.get());
auto value_set =
garrow_datum_new_raw(&(arrow_copied_set_lookup_options->value_set));
bool skip_nulls = false;
if (arrow_options->skip_nulls.has_value() && arrow_options->skip_nulls.value()) {
skip_nulls = true;
}
auto skip_nulls = (arrow_options->skip_nulls.has_value() && arrow_options->skip_nulls.value());
auto options = g_object_new(GARROW_TYPE_SET_LOOKUP_OPTIONS,
"value-set", value_set,
"skip-nulls", skip_nulls,
Expand Down

0 comments on commit bf7c145

Please sign in to comment.