Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
R-JunmingChen committed Aug 21, 2023
1 parent aa9eb01 commit f129754
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/src/arrow/compute/kernels/scalar_set_lookup_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ void CheckIsIn(const std::shared_ptr<DataType>& type, const std::string& input_j

void CheckIsInChunked(const std::shared_ptr<ChunkedArray>& input,
const std::shared_ptr<ChunkedArray>& value_set,
const std::shared_ptr<ChunkedArray>& expected,
bool skip_nulls) {
const std::shared_ptr<ChunkedArray>& expected, bool skip_nulls) {
ASSERT_OK_AND_ASSIGN(Datum actual_datum,
IsIn(input, SetLookupOptions(value_set, skip_nulls)));
auto actual = actual_datum.chunked_array();
Expand Down Expand Up @@ -329,7 +328,7 @@ TEST_F(TestIsInKernel, TimeTimestamp) {
CheckIsIn(type, "[1, null, 5, 1, 2]", "[2, 1, null]",
"[true, null, null, true, true]",
/*null_matching_behavior=*/SetLookupOptions::INCONCLUSIVE);

// Duplicates in right array
CheckIsIn(type, "[1, null, 5, 1, 2]", "[2, 1, 1, null, 2]",
"[true, true, false, true, true]", /*skip_nulls=*/false);
Expand Down

0 comments on commit f129754

Please sign in to comment.