Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
>>create table json(str varchar(200));
>>select json_object_field_text('
', 'f2') from json;
-
-
- ERROR[8971] JSON value is invalid.
-
— 0 row(s) selected.
>>
the expected result should like below.
>>select json_object_field_text('
', 'f2') from (values(1)) T;
(EXPR)
--------
1
— 1 row(s) selected.
>>
>>select json_object_field_text('
', 'f2') from (values(1)) T;
(EXPR)
--------
1
— 1 row(s) selected.
>>