Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
functions_aggregate_approx.yaml - Substrait: Cross-Language Serialization for Relational Algebra
[go: Go Back, main page]

Skip to content

functions_aggregate_approx.yaml

This document file is generated for functions_aggregate_approx.yaml. The extension URN is extension:io.substrait:functions_aggregate_approx.

Aggregate Functions

approx_count_distinct

Calculates the approximate number of rows that contain distinct values of the expression argument using HyperLogLog. This function provides an alternative to the COUNT (DISTINCT expression) function, which returns the exact number of rows that contain distinct values of an expression. APPROX_COUNT_DISTINCT processes large amounts of data significantly faster than COUNT, with negligible deviation from the exact result.

Implementations:

  • approx_count_distinct(x: any): -> i64