[MDEV-30060] JSON path expression with dashes doesn't work Created: 2022-11-21 Updated: 2022-11-21 Resolved: 2022-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.9.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ryan Leadenham | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | JSON, JSON_QUERY | ||
| Environment: |
Tested on Windows but would assume it affects all platforms |
||
| Issue Links: |
|
||||||||||||
| Description |
|
According to https://mariadb.com/kb/en/jsonpath-expressions/ a path expression with special characters can be quoted as shown below. But doing so returns NULL rather than the JSON data it should. Example is hierarchy from a Chrome Lighthouse report.
|
| Comments |
| Comment by Ryan Leadenham [ 2022-11-21 ] | |||||||
|
The below had previously worked in 10.6
| |||||||
| Comment by Alice Sherepa [ 2022-11-21 ] | |||||||
|
Thank you! This is the same bug as |