From 437ea5c8407518d302c645d22612e5d09d312236 Mon Sep 17 00:00:00 2001 From: "wangguangxin.cn" Date: Sat, 8 Feb 2025 14:56:58 +0800 Subject: [PATCH] fix --- velox/functions/sparksql/tests/GetStructFieldTest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/velox/functions/sparksql/tests/GetStructFieldTest.cpp b/velox/functions/sparksql/tests/GetStructFieldTest.cpp index 29e0d423c640..887dbf02243f 100644 --- a/velox/functions/sparksql/tests/GetStructFieldTest.cpp +++ b/velox/functions/sparksql/tests/GetStructFieldTest.cpp @@ -63,9 +63,10 @@ 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, 102}, {200, 201, 202}, {300, 301, 302}}), - makeFlatVector({"a", "b", "c"})}); + 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