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/15 07:42:27 UTC
[GitHub] [shardingsphere] strongduanmu opened a new issue, #16855: SQL syntax exception occurs when execute `SELECT MOD(c, 1) from t_int;`
strongduanmu opened a new issue, #16855:
URL: https://github.com/apache/shardingsphere/issues/16855
## Bug Report
### Which version of ShardingSphere did you use?
https://github.com/apache/shardingsphere/commit/eae00f5dd54f098da3ea7b64672647abc7d0e725
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
Execute `SELECT MOD(c, 1) from t_int;` successfully for PostgreSQL.
### Actual behavior
SQL syntax exception occurs.
<img width="558" alt="image" src="https://user-images.githubusercontent.com/10829171/163540966-2d50129a-67de-41be-b579-4d6caca19882.png">
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
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] strongduanmu commented on issue #16855: SQL syntax exception occurs when execute `SELECT MOD(c, 1) from t_int;`
Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #16855:
URL: https://github.com/apache/shardingsphere/issues/16855#issuecomment-1099936075
math function doc: https://www.postgresql.org/docs/14/functions-math.html
--
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 closed issue #16855: SQL syntax exception occurs when execute `SELECT MOD(c, 1) from t_int;`
Posted by GitBox <gi...@apache.org>.
tuichenchuxin closed issue #16855: SQL syntax exception occurs when execute `SELECT MOD(c, 1) from t_int;`
URL: https://github.com/apache/shardingsphere/issues/16855
--
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