zjcnb opened a new issue #15186:
URL: https://github.com/apache/shardingsphere/issues/15186
Hi community,
Refer to: #15110 , #15176
```
private String getTargetShardingNode(final Closure<?> closure, final
String columnName) {
try {
return closure.call().toString();
} catch (final MissingMethodException | NullPointerException ex) {
throw new ShardingSphereException("Inline sharding algorithms
expression `%s` and sharding column `%s` not match.", algorithmExpression,
columnName);
}
}
```
Please add unit test.
--
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]