Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGuangxin committed Feb 8, 2025
1 parent 7629f70 commit 414d3ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions velox/functions/sparksql/tests/GetStructFieldTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ TEST_F(GetStructFieldTest, complexType) {
auto col0 = makeArrayVector<int32_t>({{1, 2}, {3, 4}});
auto col1 = makeMapVector<std::string, int32_t>(
{{{"a", 0}, {"b", 1}}, {{"c", 3}, {"d", 4}}});
auto col2 = makeRowVector(
{makeArrayVector<int32_t>({{100, 101}, {200, 202}, {300, 303}}),
makeFlatVector<std::string>({"a", "b"})});
auto col2 = makeRowVector({
makeArrayVector<int32_t>({{100, 101, 102}, {200, 201, 202}, {300, 301, 302}}),
makeFlatVector<std::string>({"a", "b", "c"})});
auto data = makeRowVector({col0, col1, col2});

// Get array field
Expand Down

0 comments on commit 414d3ed

Please sign in to comment.