Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGuangxin committed Feb 8, 2025
1 parent 414d3ed commit 437ea5c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions velox/functions/sparksql/tests/GetStructFieldTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ 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, 102}, {200, 201, 202}, {300, 301, 302}}),
makeFlatVector<std::string>({"a", "b", "c"})});
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 437ea5c

Please sign in to comment.