LucaCappelletti94 opened a new pull request, #2967:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2967

   Postgres syntaxes like `UPDATE u SET arr[1] = 5` does not parse, and neither 
does a subscript such as `arr[2:3]` or `parr[1].x` in an `ON CONFLICT DO 
UPDATE` or `MERGE` assignment, or in an `INSERT` or `MERGE ... INSERT` column 
list.
   
   These targets are now a `TargetColumn`, which keeps the column name and the 
subscripts and subfields after it as an `AccessExpr` chain and prints back as 
written.


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

  • [PR] PostgreSQL: Support subscri... LucaCappelletti94 (via GitHub) via github

Reply via email to