[MDEV-26726] Limitations on path value for JSON_VALUE function (and maybe others) are not described Created: 2021-09-29  Updated: 2021-09-29

Status: Open
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Ian Gilfillan
Resolution: Unresolved Votes: 0
Labels: None


 Description   

JSON_VALUE and JSON_EXTRACT descriptions both show path as the 2nd argument in syntax:

JSON_VALUE(json_doc, path)

JSON_EXTRACT(json_doc, path[, path] ...)

JSON_EXTRACT additionally says that

The path expression be a JSONPath expression as supported by MariaDB

(possibly a typo, but understandable).

JSON_VALUE says nothing about path meaning.

It appears that for JSON_VALUE path must be explicit, without wildcards. If so, it should be mentioned in the documentation.
Possibly there are other functions with the same limitation.


Generated at Thu Feb 08 09:47:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.