Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

ajustes de sesión de function_json_*

Esta configuración está disponible en system.settings y se genera automáticamente a partir del código fuente.

function_json_value_return_type_allow_complex

Tipo
Bool
Predeterminado
0

Controla si se permite que la función json_value devuelva tipos complejos (como struct, array o map).

SELECT JSON_VALUE('{"hello":{"world":"!"}}', '$.hello') settings function_json_value_return_type_allow_complex=true

Posibles valores:

  • true — Se permite.
  • false — No se permite.

function_json_value_return_type_allow_nullable

Tipo
Bool
Predeterminado
0

Controla si se permite devolver NULL cuando no existe ningún valor para la función JSON_VALUE.

SELECT JSON_VALUE('{"hello":"world"}', '$.b') settings function_json_value_return_type_allow_nullable=true;

Posibles valores:

  • true — Se permite.
  • false — No se permite.
Navigation