kimmking commented on a change in pull request #7601:
URL: https://github.com/apache/shardingsphere/pull/7601#discussion_r497248186
##########
File path:
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java
##########
@@ -77,6 +82,48 @@ public static Object convertValue(final Object value, final
Class<?> convertType
return value;
}
}
+
+ private static Object convertURL(final Object value) {
+ String val = value.toString();
+ try {
+ return new URL(val);
+ } catch (final MalformedURLException ex) {
+ throw new ShardingSphereException("Unsupported Date type: URL
value %s", value);
Review comment:
should be val instead of value.
----------------------------------------------------------------
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]