AVG
Window function
Description
The AVG window function returns the average (arithmetic mean) of the input expression values.
This function is fully supported in Snowflake.
For more information about quoted identifiers in functions, click here.
Grammar Syntax
Sample Source Patterns
Setup data
Input Code:
Output Code:
OUT -> Redshift_01.sql
Note
AVG, depending on the data type, can behave differently in terms of rounding and formatting, which may result in different precision or decimal places when comparing Redshift with Snowflake.
Related EWIs
There are no known issues.
Last updated