Skip to content

Commit

Permalink
added test for alias wavg
Browse files Browse the repository at this point in the history
  • Loading branch information
gropaul committed Jan 8, 2025
1 parent a9c866f commit af0f93b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sql/aggregate/aggregates/test_weighted_avg.test
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ nan
0.0
0.0

# test alias 'wavg'
query R
SELECT wavg(3, 3)
----
3

# test weighted average on real world example
statement ok
CREATE TABLE students(name TEXT, grade INTEGER, etcs INTEGER);
Expand Down

0 comments on commit af0f93b

Please sign in to comment.