duzhanfei commented on issue #8211: URL: https://github.com/apache/shardingsphere/issues/8211#issuecomment-730165982
Thank you very much. my idol . At 2020-11-19 13:44:06, "kimmking" <[email protected]> wrote: inline algorithmExpression is a groovy script, you can use any type such as int or string and whatever. as your case ds_${ecif_cust_no % 2} , % 2 only for int or long. you can use Math.abs(ecif_cust_no.hashCode()) % 2 instead. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. ---------------------------------------------------------------- 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]
