You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "izveigor (via GitHub)" <gi...@apache.org> on 2023/06/09 12:05:42 UTC

[GitHub] [arrow-datafusion] izveigor commented on a diff in pull request #6593: feat: make_array support empty arguments

izveigor commented on code in PR #6593:
URL: https://github.com/apache/arrow-datafusion/pull/6593#discussion_r1224217663


##########
datafusion/core/tests/sqllogictests/test_files/array.slt:
##########
@@ -157,6 +223,18 @@ select trim_array([[1, 2], [3, 4], [5, 6]], 2), trim_array(array_fill(4, [3, 4,
 ----
 [[1, 2]] [[[4, 4], [4, 4], [4, 4], [4, 4]]]
 
+# trim_array scalar function #3
+query ?
+select array_concat(trim_array(make_array(1, 2, 3), 3), make_array(4, 5), make_array());
+----
+[4, 5]
+
+# trim_array scalar function #3

Review Comment:
   `# trim_array scalar function #4`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org