We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dda9ca commit b7058cdCopy full SHA for b7058cd
flink-connector-clickhouse-base/src/main/java/com/clickhouse/utils/Serialize.java
@@ -85,7 +85,8 @@ public static Integer convertToInteger(Object value) {
85
} else if (value instanceof Boolean) {
86
return ((Boolean) value) ? 1 : 0;
87
} else {
88
- throw new IllegalArgumentException("Cannot convert " + value + " to Integer");
+ throw new IllegalArgumentException("Cannot convert object of type " +
89
+ value.getClass().getName() + " to Integer: " + value);
90
}
91
92
0 commit comments