peng-ran opened a new issue #6982:
URL: https://github.com/apache/shardingsphere/issues/6982


           SELECT ROUND(a.F_ID, 3)  / 1000 - ROUND(a.F_ID, 3)  / 1000 as F_ID,
                  a.F_NAME
           FROM t_demo AS a
   
   is ok 
   
           SELECT (ROUND(a.F_ID, 3) - ROUND(a.F_ID, 3))  / 1000 as F_ID,
                  a.F_NAME
           FROM t_demo AS a
   or
   
           SELECT (ROUND(a.F_ID, 3) - ROUND(a.F_ID, 3))  + 1000 as F_ID,
                  a.F_NAME
           FROM t_demo AS a
   
   or 
   
           SELECT (ROUND(a.F_ID, 3))  / 1000 as F_ID,
                  a.F_NAME
           FROM t_demo AS a
   is error ,can not sharding


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

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


Reply via email to