RaigorJiang commented on issue #11110:
URL: 
https://github.com/apache/shardingsphere/issues/11110#issuecomment-928751698


   Hi @kenl-lin 
   I did a test to verify, and no similar exceptions were found.
   ```sql
   sharding_db=# select * from t_order;
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           2 |       2 | ok     | 2021-09-28 11:51:03.0 
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (2 rows)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
    
   sharding_db=# select * from t_order where user_id = 1 and trans_time < 
'2021-09-28 00:00:00.0';
    order_id | user_id | status |      trans_time       
   ----------+---------+--------+-----------------------
           1 |       1 | ok     | 2021-09-01 11:51:59.0 
   (1 row)
   
   ```
   
   
   My version is 5.0.0-RC1 (master branch), welcome to try the new 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to