diff --git a/velox/docs/functions/spark/json.rst b/velox/docs/functions/spark/json.rst index 9fc6f876b76d..3b90560495ab 100644 --- a/velox/docs/functions/spark/json.rst +++ b/velox/docs/functions/spark/json.rst @@ -30,6 +30,6 @@ JSON Functions SELECT get_json_object('{"a":"b"}', '$.a'); -- 'b' SELECT get_json_object('{"a":{"b":"c"}}', '$.a'); -- '{"b":"c"}' - SELECT get_json_object('{"a":3}', '$.b'); -- NULL (not found field) + SELECT get_json_object('{"a":3}', '$.b'); -- NULL (unexisting field) SELECT get_json_object('{"a"-3}'', '$.a'); -- NULL (malformed JSON string) SELECT get_json_object('{"a":3}'', '.a'); -- NULL (malformed JSON path)