Skip to content

Commit

Permalink
Temporary Commit at 1/27/2025, 1:50:33 PM
Browse files Browse the repository at this point in the history
Differential Revision: D68734685
  • Loading branch information
Peter Enescu authored and facebook-github-bot committed Jan 29, 2025
1 parent e5fa55b commit bcc040a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions velox/functions/prestosql/tests/ArrayHasDuplicatesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ TEST_F(ArrayHasDuplicatesTest, json) {
result = evaluate(
"array_has_duplicates(C0)",
makeRowVector({makeNullableArrayVector<StringView>(
{{R"({"key":"value"})", R"({"key":"another_value"})"},
{R"({"key":"value"})"},
{{R"({"key":"value"})"},
{R"({"key":"same_value"})",
R"({"key":"another_value"})",
R"({"key":"same_value"})"},
{std::nullopt, std::nullopt},
{R"({"key":"value"})", R"({"key":"another_value"})"},
{R"({"key":"value"})",
R"({"key":"another_value"})",
R"({"another_key":"value"})"},
Expand All @@ -181,7 +181,7 @@ TEST_F(ArrayHasDuplicatesTest, json) {
std::nullopt}},
ARRAY(JSON()))}));
assertEqualVectors(
makeFlatVector<bool>(
{false, false, true, true, false, true, true, true, true, true}),
makeFlatVector<bool>(std::vector<bool>{
{false, true, true, false, false, true, true, true, true, true}}),
result);
}

0 comments on commit bcc040a

Please sign in to comment.