COVAR_POP (Lakehouse v2)
Returns the population covariance of two expressions.
Analyze Syntax
Section titled “Analyze Syntax”func.covar_pop(get_column(table, 'y'), get_column(table, 'x'))Analyze Examples
Section titled “Analyze Examples”func.covar_pop(get_column(table, 'height'), get_column(table, 'weight'))
┌────────┐│ 102.46 │└────────┘SQL Syntax
Section titled “SQL Syntax”COVAR_POP(<y>, <x>)SQL Examples
Section titled “SQL Examples”SELECT COVAR_POP(height, weight) FROM measurements;
┌────────┐│ 102.46 │└────────┘