ARRAY_CONTAINS (Lakehouse v2)
Vérifie si un tableau contient un élément donné.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_contains([1, 2, 3], 2)Exemples Analyze
Section intitulée « Exemples Analyze »func.array_contains([1, 2, 3], 2)
┌───┐│ 1 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_CONTAINS([1, 2, 3], 2)Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_CONTAINS([1, 2, 3], 2);
┌───┐│ 1 │└───┘