JSON_MERGE_PRESERVE with JSON_ARRAYAGG
Posted by: Luís Bessa
Date: June 21, 2018 11:53AM

Hello,

I'm trying to use JSON_ARRAYAGG to group all row json column and then have them merged by key with JSON_MERGE_PRESERVE.

It gives me this error:
Error Code: 1582. Incorrect parameter count in the call to native function 'JSON_MERGE_PRESERVE'

Shouldn't the JSON_MERGE_PRESERVE function accept an array as input ?

Thanks,
Luis

Options: ReplyQuote


Subject
Views
Written By
Posted
JSON_MERGE_PRESERVE with JSON_ARRAYAGG
226
June 21, 2018 11:53AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.