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

   using shardingsphere-jdbc 5.0.0
   
   hashShardingValue in HashModShardingAlgorithm like this
   ```
   private long hashShardingValue(final Comparable<?> shardingValue) {
           return Math.abs((long) shardingValue.hashCode());
       }
   ```
   When using snowflake algorithm, shardingValue is a Long type, the same Long 
value will be different hashCode, so when using BindingTableGroups, the 
associated table query will not be able to query data
   


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

Reply via email to