FIND_IN_SET (Lakehouse v2)
Devolve a posição de uma cadeia numa lista separada por vírgulas.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.find_in_set(<str>, <strlist>)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.find_in_set('b', 'a,b,c')
┌───┐│ 2 │└───┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”FIND_IN_SET(<str>, <strlist>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT FIND_IN_SET('b', 'a,b,c');
┌───┐│ 2 │└───┘