Comments - JSON_ARRAYAGG
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
I have a query example:
with t1 as ( select 0 as a ) select JSON_ARRAYAGG(a) as j from t1 where a > 0
Docs tells j should be NULL Actually j is a string "[NULL]"
Can be connected with this: https://stackoverflow.com/questions/69872120/json-object-inside-json-arrayagg-sometimes-return-json-array-sometimes-string
I see NULL: