Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

configurações de sessão de function_json_*

Essas configurações estão disponíveis em system.settings e são geradas automaticamente a partir do código-fonte.

function_json_value_return_type_allow_complex

Tipo
Bool
Padrão
0

Controla se a função json_value pode retornar tipos complexos (como struct, array e map).

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

Valores possíveis:

  • true — Permite.
  • false — Não permite.

function_json_value_return_type_allow_nullable

Tipo
Bool
Padrão
0

Controla se é permitido retornar NULL quando não houver valor para a função JSON_VALUE.

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

Valores possíveis:

  • true — Permite.
  • false — Não permite.
Navigation