IS_INTEGER (Lakehouse v1)
Comprueba si el valor JSON de entrada es un entero.
Sintaxis de Analyze
Sección titulada «Sintaxis de Analyze»func.is_integer(<expr>)Ejemplos de Analyze
Sección titulada «Ejemplos de Analyze»func.is_integer(func.parse_json('123')), func.is_integer(func.parse_json('[1,2,3]'))┌────────────────────────────────────────────────────────────────────────────────────────┐│ func.is_integer(func.parse_json('123')) │ func.is_integer(func.parse_json('[1,2,3]')) │├──────────────────────────────────────────┼─────────────────────────────────────────────┤│ true │ false │└────────────────────────────────────────────────────────────────────────────────────────┘Sintaxis SQL
Sección titulada «Sintaxis SQL»IS_INTEGER( <expr> )Tipo de retorno
Sección titulada «Tipo de retorno»Devuelve true si el valor JSON de entrada es un entero y false en caso contrario.
Ejemplos de SQL
Sección titulada «Ejemplos de SQL»SELECT IS_INTEGER(PARSE_JSON('123')), IS_INTEGER(PARSE_JSON('[1,2,3]'));
┌───────────────────────────────────────────────────────────────────┐│ is_integer(parse_json('123')) │ is_integer(parse_json('[1,2,3]')) │├───────────────────────────────┼───────────────────────────────────┤│ true │ false │└───────────────────────────────────────────────────────────────────┘