alamb commented on code in PR #14378:
URL: https://github.com/apache/datafusion/pull/14378#discussion_r1936377753
##########
datafusion/sqllogictest/test_files/array.slt:
##########
@@ -2848,6 +2848,47 @@ select array_concat([]);
----
[]
+# Concatenating strings arrays
+query ?
+select array_concat(
+ ['1', '2'],
+ ['3']
+);
+----
+[1, 2, 3]
+
+# Concatenating string arrays
+query ?
+select array_concat(
+ [arrow_cast('1', 'LargeUtf8'), arrow_cast('2', 'LargeUtf8')],
+ [arrow_cast('3', 'LargeUtf8')]
+);
+----
+[1, 2, 3]
+
+# Concatenating stringview
+query ?
+select array_concat(
+ [arrow_cast('1', 'Utf8View'), arrow_cast('2', 'Utf8View')],
+ [arrow_cast('3', 'Utf8View')]
+);
+----
+[1, 2, 3]
+
+# Concatenating Mixed types (doesn't work)
Review Comment:
- filed https://github.com/apache/arrow-rs/issues/7048
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]