ALL_MATCH (Lakehouse v2)
Renvoie TRUE si tous les éléments d’un tableau satisfont le prédicat donné.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.all_match(get_column(table, 'arr'), lambda x: x > 0)Exemples Analyze
Section intitulée « Exemples Analyze »func.all_match([1, 2, 3], lambda x: x > 0)
┌───┐│ 1 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ALL_MATCH(<arr>, lambda x: x > 0)Exemples SQL
Section intitulée « Exemples SQL »SELECT ALL_MATCH([1, 2, 3], x -> x > 0);
┌───┐│ 1 │└───┘