Skip to content

Commit

Permalink
Code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed May 13, 2022
1 parent 51d4377 commit 760c4d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cpp/tests/stream_compaction/distinct_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,9 @@ TEST_F(Distinct, StructWithNullElement)

auto input = cudf::table_view({idx, s1});

auto expect_map = cudf::test::fixed_width_column_wrapper<cudf::size_type>{0, 1};
auto expect = cudf::gather(input, expect_map);

auto result = cudf::distinct(input, {1});
auto sorted_result = cudf::sort_by_key(*result, result->select({0}));
CUDF_TEST_EXPECT_COLUMNS_EQUAL(expect->get_column(1), sorted_result->get_column(1));
CUDF_TEST_EXPECT_COLUMNS_EQUAL(input.column(1), sorted_result->get_column(1));
}

TEST_F(Distinct, ListOfEmptyStruct)
Expand Down

0 comments on commit 760c4d5

Please sign in to comment.