lovasoa opened a new issue, #1545:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1545
Postgresql supports the following syntax for the json_object function:
```sql
json_object('label' VALUE 'value')
json_object('label': 'value')
```
Reference: https://www.postgresql.org/docs/current/functions-json.html
Related: the `key: value` syntax was already implemented for mssql by
@gaoqiangz in https://github.com/apache/datafusion-sqlparser-rs/pull/1507 . We
probably just need to enable it (+ a new VALUE separator) for postgres too
https://github.com/apache/datafusion-sqlparser-rs/issues/1506
Initially reported in https://github.com/sqlpage/SQLPage/issues/708
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]