Amazon Redshift Approximate Query API
Amazon Redshift supports approximate query processing using HyperLogLog sketch functions (HLL_CREATE_SKETCH, HLL_COMBINE, HLL_CARDINALITY) for fast cardinality estimation on large datasets. These native SQL functions enable analytics teams to run near-instantaneous approximate COUNT DISTINCT queries on billions of rows with controlled error bounds.