Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions datafusion/sqllogictest/test_files/decimal.slt
Original file line number Diff line number Diff line change
Expand Up @@ -701,5 +701,24 @@ select arrow_typeof(max(c1)), max(c1) from decimal256_simple where c4=false;
----
Decimal256(50, 6) 0.00005

query TR
select arrow_typeof(sum(c1)), sum(c1) from decimal256_simple;
----
Decimal256(60, 6) 0.00055

query TR
select arrow_typeof(median(c1)), median(c1) from decimal256_simple;
----
Decimal256(50, 6) 0.00004

query IR
select count(*),c1 from decimal256_simple group by c1 order by c1;
----
1 0.00001
2 0.00002
3 0.00003
4 0.00004
5 0.00005

statement ok
drop table decimal256_simple;