stevenliebregt opened a new issue, #1977:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1977

   The parser does not support the following:
   
   ```sql
   INSERT INTO table_with_constraint_over_jsonb (a_number, a_jsonb, a_string) 
   VALUES ($1, $2, $3) 
   ON CONFLICT (a_number, (a_jsonb->>'name')) 
   DO UPDATE SET a_string = EXCLUDED.a_string 
   RETURNING *;
   ```
   
   It errors on the `(a_jsonb->>'name')` part with the error: 
`ParserError("Expected: identifier, found: ( at Line: 1, Column: 119")`.


-- 
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

Reply via email to