COVAR_SAMP (Lakehouse v2)
Renvoie la covariance d’échantillon de deux expressions.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.covar_samp(get_column(table, 'y'), get_column(table, 'x'))Exemples Analyze
Section intitulée « Exemples Analyze »func.covar_samp(get_column(table, 'height'), get_column(table, 'weight'))
┌────────┐│ 103.01 │└────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »COVAR_SAMP(<y>, <x>)Exemples SQL
Section intitulée « Exemples SQL »SELECT COVAR_SAMP(height, weight) FROM measurements;
┌────────┐│ 103.01 │└────────┘