adamchainz opened a new issue, #2000: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2000
[`json_object()`](https://www.postgresql.org/docs/current/functions-json.html#:~:text=%20json_object%20() supports quite broad syntax: ``` json_object ( [ { key_expression { VALUE | ':' } value_expression [ FORMAT JSON [ ENCODING UTF8 ] ] }[, ...] ] [ { NULL | ABSENT } ON NULL ] [ { WITH | WITHOUT } UNIQUE [ KEYS ] ] [ RETURNING data_type [ FORMAT JSON [ ENCODING UTF8 ] ] ]) ``` #1545 added support for the `VALUE` keyword between values. I now need support for `RETURNING JSONB`, as [used by Django](https://github.com/django/django/blob/cd0966cd4e37da8e6153cbf57c194dce29caaddc/django/db/models/functions/json.py#L111-L114) on Postgres 16+. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org