Skip to content

Commit

Permalink
Correct return type of AVG(INT)
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed Oct 30, 2023
1 parent fcfb2b0 commit c7227c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static BUILT_IN_FUNCTIONS: &str = "
ANY_VALUE = FnAgg<?T>(Agg<?T>) -> ?T;
ARRAY_LENGTH = Fn<?T>(ARRAY<?T>) -> INT64;
ARRAY_TO_STRING = Fn<?T>(ARRAY<?T>, STRING) -> STRING;
AVG = FnAgg(Agg<INT64>) -> INT64 | FnAgg(Agg<FLOAT64>) -> FLOAT64;
AVG = FnAgg(Agg<INT64>) -> FLOAT64 | FnAgg(Agg<FLOAT64>) -> FLOAT64;
COALESCE = Fn<?T>(?T, ..?T) -> ?T;
CONCAT = Fn(STRING, ..STRING) -> STRING | Fn(BYTES, ..BYTES) -> BYTES;
COUNTIF = FnAgg(Agg<BOOL>) -> INT64 | FnOver(Agg<BOOL>) -> INT64;
Expand Down

0 comments on commit c7227c2

Please sign in to comment.