partition_column |
INTEGER, BIGINT, NUMERIC, or VARCHAR |
Column by which input data is partitioned. This column must contain all rows that contain entity to average. For example, if function is to return cumulative moving average of a particular stock share price, all transactions of that stock must be in one partition. |
order_column |
INTEGER, BIGINT, TIMESTAMP, TIME |
Column by which input table is ordered. |
target_column |
INTEGER, BIGINT, NUMERIC, or DOUBLE PRECISION |
[Column appears once for each specified target_column.] Values to average. |