From 414d3ed49ac8277f6e53e1c3b621156df781a81e Mon Sep 17 00:00:00 2001 From: "wangguangxin.cn" Date: Sat, 8 Feb 2025 14:33:44 +0800 Subject: [PATCH] fix ut --- velox/functions/sparksql/tests/GetStructFieldTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/velox/functions/sparksql/tests/GetStructFieldTest.cpp b/velox/functions/sparksql/tests/GetStructFieldTest.cpp index ee44552c26c0..29e0d423c640 100644 --- a/velox/functions/sparksql/tests/GetStructFieldTest.cpp +++ b/velox/functions/sparksql/tests/GetStructFieldTest.cpp @@ -63,9 +63,9 @@ TEST_F(GetStructFieldTest, complexType) { auto col0 = makeArrayVector({{1, 2}, {3, 4}}); auto col1 = makeMapVector( {{{"a", 0}, {"b", 1}}, {{"c", 3}, {"d", 4}}}); - auto col2 = makeRowVector( - {makeArrayVector({{100, 101}, {200, 202}, {300, 303}}), - makeFlatVector({"a", "b"})}); + auto col2 = makeRowVector({ + makeArrayVector({{100, 101, 102}, {200, 201, 202}, {300, 301, 302}}), + makeFlatVector({"a", "b", "c"})}); auto data = makeRowVector({col0, col1, col2}); // Get array field