| Bug #118856 | json_objectagg throws inappropriate "no null member names" error in unreachable case. | ||
|---|---|---|---|
| Submitted: | 19 Aug 23:36 | Modified: | 20 Aug 15:15 |
| Reporter: | Dmitriy P | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: JSON | Severity: | S3 (Non-critical) |
| Version: | 8.0.35 | OS: | Any |
| Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
| Tags: | json_objectagg, null | ||
[19 Aug 23:36]
Dmitriy P
[20 Aug 6:08]
MySQL Verification Team
Hi, Sorry but this is not a bug, it is how parser woks. You can try instead using something like select json_objectagg(COALESCE(null, 'xxx'), 'text')
