Aggregate function support of LONG VARCHAR columns
Only the aggregate function COUNT (*) is
supported for LONG VARCHAR columns. The COUNT
DISTINCT parameter is not supported. An error is returned
if a LONG VARCHAR column is used with the MIN, MAX, AVG,
or SUM aggregate functions.