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/10/08 06:19:17 UTC
[GitHub] [shardingsphere] strongduanmu opened a new issue, #21379: Wrong column label return when execute aggregation function with PostgreSQL/openGauss database
strongduanmu opened a new issue, #21379:
URL: https://github.com/apache/shardingsphere/issues/21379
## Bug Report
### Which version of ShardingSphere did you use?
https://github.com/apache/shardingsphere/commit/f4080b1b3ddcaa9eb15e87e50a6fb0d2fe2baa7f
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
Execute `SELECT MIN(o.order_id), MIN(o.merchant_id), i.product_id FROM t_order o INNER JOIN t_order_item i ON o.order_id = i.order_id WHERE o.user_id = 10 GROUP BY i.product_id;`, and then return following result.
```sql
min | min | product_id
------+-----+------------
1000 | 1 | 1
1001 | 2 | 2
(2 rows)
```
### Actual behavior
Wrong column label return.
```sql
MIN | MIN | product_id
------+-----+------------
1000 | 1 | 1
1001 | 2 | 2
(2 rows)
```
### 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 #21379: Wrong column label return when execute aggregation function with PostgreSQL/openGauss database
Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #21379:
URL: https://github.com/apache/shardingsphere/issues/21379#issuecomment-1272240814
Ref #19580.
--
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] tristaZero closed issue #21379: Wrong column label return when execute aggregation function with PostgreSQL/openGauss database
Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #21379: Wrong column label return when execute aggregation function with PostgreSQL/openGauss database
URL: https://github.com/apache/shardingsphere/issues/21379
--
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