[Bug]: Getting error if using json_extract in a MySQL query: Cannot invoke "Object.getClass()" because "columnValue" is null #27645
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
Getting error if using json_extract
in a MySQL query, or just querying a field that is of json
type.
SELECT
id,
createdAt as date,
json_extract(details, '$.editor') AS editor
FROM
`User`
ORDER BY
id DESC
LIMIT 10
Steps To Reproduce
- Run a MuSQL query on a table that has a json type field
Workaround
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
self host, V1.9.37.1