Closed b41sh closed 4 weeks ago
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
support json_object_insert function for example:
json_object_insert
MySQL [(none)]> SELECT json_object_insert('{"a":1,"b":2}'::variant, 'c', 3); +------------------------------------------------------+ | json_object_insert('{"a":1,"b":2}'::VARIANT, 'c', 3) | +------------------------------------------------------+ | {"a":1,"b":2,"c":3} | +------------------------------------------------------+ 1 row in set (0.043 sec) MySQL [(none)]> SELECT json_object_insert('{"city":"San Mateo","state":"CA"}'::variant, 'city', 'San Jose', true); +--------------------------------------------------------------------------------------------+ | json_object_insert('{"city":"San Mateo","state":"CA"}'::VARIANT, 'city', 'San Jose', TRUE) | +--------------------------------------------------------------------------------------------+ | {"city":"San Jose","state":"CA"} | +--------------------------------------------------------------------------------------------+ 1 row in set (0.040 sec)
This change isโ
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
support
json_object_insert
function for example:Tests
Type of change
This change isโ