-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4合并排序有点问题 #336
Comments
估计跟这2种日期格式不一样有关系 |
public static int compareNumberByte(byte[] b1, byte[] b2) {
看了这块的比较逻辑,正数的话,只比较长度?? 这个逻辑有问题呀 |
你可以修复下试试 |
mysql> select create_time from test order by create_time limit 10;
+----------------------------+
| create_time |
+----------------------------+
| 2014-05-22 16:19:49 |
| 2014-05-28 20:44:58 |
| 2015-12-04 15:48:03 |
| 2014-05-28 11:18:49.91675 |
| 2014-05-26 18:27:22.434839 |
| 2014-05-26 18:40:48.106799 |
| 2014-05-26 18:49:25.626657 |
| 2014-05-26 18:53:31.944941 |
| 2014-05-26 19:04:00.222669 |
| 2014-05-26 21:10:37.869413 |
+----------------------------+
10 rows in set (0.02 sec)
从两个分片中取出数据,其中 2015-12-04 15:48:03 是native方式的mysql, 其他的是jdbc的postgresql
The text was updated successfully, but these errors were encountered: