Skip to content

Commit

Permalink
update slt, remove dedicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Sep 14, 2024
1 parent 5779e85 commit 80906e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion datafusion/core/tests/sql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ macro_rules! assert_metrics {
}

pub mod aggregates;
pub mod array_has;
pub mod create_drop;
pub mod explain_analyze;
pub mod joins;
Expand Down
8 changes: 2 additions & 6 deletions datafusion/sqllogictest/test_files/array.slt
Original file line number Diff line number Diff line change
Expand Up @@ -7089,17 +7089,13 @@ select [1,2,3]::int[], [['1']]::int[][], arrow_typeof([]::text[]);
# test empty arrays return length
# issue: https://github.com/apache/datafusion/pull/12459
statement ok
create table values_all_empty(items int[]);

statement ok
insert into values_all_empty (items) (select [] as c from (select unnest(generate_series(1, 3))));
create table values_all_empty (a int[]) as values ([]), ([]);

query B
select array_has(items, 1) from values_all_empty;
select array_has(a, 1) from values_all_empty;
----
false
false
false

### Delete tables

Expand Down

0 comments on commit 80906e8

Please sign in to comment.