Skip to content

Commit

Permalink
remove array_to_string changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanc-n committed Nov 14, 2024
1 parent 3291bab commit 2c3db9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions datafusion/functions-nested/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ macro_rules! call_array_function {
match $DATATYPE {
DataType::Utf8 => array_function!(StringArray),
DataType::LargeUtf8 => array_function!(LargeStringArray),
DataType::Utf8View => array_function!(StringViewArray),
DataType::Boolean => array_function!(BooleanArray),
DataType::Float32 => array_function!(Float32Array),
DataType::Float64 => array_function!(Float64Array),
Expand All @@ -91,7 +90,6 @@ macro_rules! call_array_function {
DataType::List(_) => array_function!(ListArray),
DataType::Utf8 => array_function!(StringArray),
DataType::LargeUtf8 => array_function!(LargeStringArray),
DataType::Utf8View => array_function!(StringViewArray),
DataType::Boolean => array_function!(BooleanArray),
DataType::Float32 => array_function!(Float32Array),
DataType::Float64 => array_function!(Float64Array),
Expand Down
18 changes: 0 additions & 18 deletions datafusion/sqllogictest/test_files/array.slt
Original file line number Diff line number Diff line change
Expand Up @@ -3973,24 +3973,6 @@ ORDER BY column1;
3 [bar] bar
NULL [baz] baz

# test utf8view against
statement ok
CREATE TABLE table_utf8view AS VALUES
('hello'),
('world'),
('jonathan'),
('chen')
;

query T
SELECT array_to_string(array_agg(column1), ',')
FROM (
SELECT arrow_cast(column1, 'Utf8View') as column1
FROM table_utf8view
);
----
hello,world,jonathan,chen

statement ok
drop table table1;

Expand Down

0 comments on commit 2c3db9d

Please sign in to comment.