Vertica OLAP Analytic Function Support

TDV supports the Vertica OLAP analytic functions shown in the table below. These analytic functions are supported in pass-through mode.

Each of these functions returns the same number of rows as the input. These functions operate on groups of rows defined by frame clauses and window partitioning rather than by a GROUP BY clause.

Vertica OLAP Analytic Function

Notes

AVG

 

COUNT

 

CUME_DIST

 

DENSE_RANK

 

EXPONENTIAL_MOVING_AVERAGE

 

FIRST_VALUE

 

LAG

 

LAST_VALUE

 

LEAD

 

MAX

 

MEDIAN

 

MIN

 

NTILE

 

PERCENT_RANK

 

PERCENTILE_CONT

 

PERCENTILE_DISC

 

RANK

 

ROW_NUMBER

 

STDDEV

 

STDDEV_POP

 

STDDEV_SAMP

 

SUM

 

VAR_POP

 

VAR_SAMP

 

VARIANCE