You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/29 01:59:22 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue, #17190: `UPDATE statement` parsing failed in PostgreSQL

RaigorJiang opened a new issue, #17190:
URL: https://github.com/apache/shardingsphere/issues/17190

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   5.1.1 release
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC 
   
   ### Expected behavior
   SQL can be parsed correctly for update statement in PG.
   
   ### Actual behavior
   SQL parsing failed:
   ```sql
   update t_order t set t.name = 'x', t.age = 10 where t.id = 5;
   ```
   <img width="1492" alt="image" src="https://user-images.githubusercontent.com/5668787/165874209-969702bb-456e-44f8-80f1-aa5e5bc35865.png">
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tuichenchuxin commented on issue #17190: `UPDATE statement` parsing failed in PostgreSQL

Posted by GitBox <gi...@apache.org>.
tuichenchuxin commented on issue #17190:
URL: https://github.com/apache/shardingsphere/issues/17190#issuecomment-1112816856

   This seems not supported for pg.
   https://www.postgresql.org/docs/current/sql-update.html
   use this to replace
   ```
   update t_order t set name = 'x', age = 10 where t.id = 5;
   ```


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tuichenchuxin commented on issue #17190: `UPDATE statement` parsing failed in PostgreSQL

Posted by GitBox <gi...@apache.org>.
tuichenchuxin commented on issue #17190:
URL: https://github.com/apache/shardingsphere/issues/17190#issuecomment-1112812364

   I'll check it.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang commented on issue #17190: `UPDATE statement` parsing failed in PostgreSQL

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #17190:
URL: https://github.com/apache/shardingsphere/issues/17190#issuecomment-1112822376

   @tuichenchuxin 
   OK, thank you, so I can close it now.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang closed issue #17190: `UPDATE statement` parsing failed in PostgreSQL

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #17190: `UPDATE statement` parsing failed in PostgreSQL
URL: https://github.com/apache/shardingsphere/issues/17190


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org