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/10 06:43:57 UTC
[GitHub] [shardingsphere] JiekerTime opened a new issue, #9185: COUNT may have an out-of-bounds exception
JiekerTime opened a new issue, #9185:
URL: https://github.com/apache/shardingsphere/issues/9185
The logic of COUNT() seems to be in GroupByMemoryMergedResult.setAggregationValueToMemoryRow, and the way to get the result here seems to be to call the getResult method:
![716041eea1ef12661c24bab527c70d4](https://user-images.githubusercontent.com/76552510/105947026-338b0900-601d-11eb-890c-c0ad3ae5e1c6.jpg)
The logic of size is based on HashSet, and its return type is int type.:
![image](https://user-images.githubusercontent.com/76552510/105945651-88795000-601a-11eb-8b30-2bc36a66988a.png)
If the future size exceeds the range of int, unexpected errors may occur.
Then since HashMap is used, is it possible that it will cause some concurrency problems in the future?
--
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] github-actions[bot] commented on issue #9185: COUNT may have an out-of-bounds exception
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9185:
URL: https://github.com/apache/shardingsphere/issues/9185#issuecomment-1272350934
Hello , this issue has not received a reply for several days.
This issue is supposed to be closed.
--
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] github-actions[bot] closed issue #9185: COUNT may have an out-of-bounds exception
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #9185: COUNT may have an out-of-bounds exception
URL: https://github.com/apache/shardingsphere/issues/9185
--
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] JiekerTime commented on issue #9185: COUNT may have an out-of-bounds exception
Posted by GitBox <gi...@apache.org>.
JiekerTime commented on issue #9185:
URL: https://github.com/apache/shardingsphere/issues/9185#issuecomment-1179990580
> What is the version?
In the 5.0.0 branch, which is also valid in the current version
--
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
Re: [I] COUNT may have an out-of-bounds exception [shardingsphere]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9185:
URL: https://github.com/apache/shardingsphere/issues/9185#issuecomment-2026023278
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
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] terrymanu commented on issue #9185: COUNT may have an out-of-bounds exception
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #9185:
URL: https://github.com/apache/shardingsphere/issues/9185#issuecomment-1179498930
What is the version?
--
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