Skip to content

Commit bcc040a

Browse files
Peter Enescufacebook-github-bot
authored andcommitted
Temporary Commit at 1/27/2025, 1:50:33 PM
Differential Revision: D68734685
1 parent e5fa55b commit bcc040a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

velox/functions/prestosql/tests/ArrayHasDuplicatesTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ TEST_F(ArrayHasDuplicatesTest, json) {
157157
result = evaluate(
158158
"array_has_duplicates(C0)",
159159
makeRowVector({makeNullableArrayVector<StringView>(
160-
{{R"({"key":"value"})", R"({"key":"another_value"})"},
161-
{R"({"key":"value"})"},
160+
{{R"({"key":"value"})"},
162161
{R"({"key":"same_value"})",
163162
R"({"key":"another_value"})",
164163
R"({"key":"same_value"})"},
165164
{std::nullopt, std::nullopt},
165+
{R"({"key":"value"})", R"({"key":"another_value"})"},
166166
{R"({"key":"value"})",
167167
R"({"key":"another_value"})",
168168
R"({"another_key":"value"})"},
@@ -181,7 +181,7 @@ TEST_F(ArrayHasDuplicatesTest, json) {
181181
std::nullopt}},
182182
ARRAY(JSON()))}));
183183
assertEqualVectors(
184-
makeFlatVector<bool>(
185-
{false, false, true, true, false, true, true, true, true, true}),
184+
makeFlatVector<bool>(std::vector<bool>{
185+
{false, true, true, false, false, true, true, true, true, true}}),
186186
result);
187187
}

0 commit comments

Comments
 (0)