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.
2 parents 15a770c + 25038bb commit 76097c8Copy full SHA for 76097c8
core/src/main/java/com/dtstack/flink/sql/util/MathUtil.java
@@ -129,6 +129,8 @@ public static Double getDoubleVal(Object obj) {
129
return ((BigDecimal) obj).doubleValue();
130
} else if (obj instanceof Integer) {
131
return ((Integer) obj).doubleValue();
132
+ } else if (obj instanceof BigInteger) {
133
+ return ((BigInteger) obj).doubleValue();
134
}
135
136
throw new RuntimeException("not support type of " + obj.getClass() + " convert to Double.");
0 commit comments