Skip to content

Commit 9f260f3

Browse files
committed
fix: update double constant
1 parent fb86d9b commit 9f260f3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/sqlancer/databend/ast/DatabendConstant.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ public String toString() {
5959
}
6060

6161

62-
// DecimalFormat doubleFormat = new DecimalFormat();
63-
// doubleFormat.setMaximumFractionDigits(2); //小数点后2位
64-
// System.out.println(String.valueOf(doubleFormat.format(value)));
65-
//TODO value先返回0.3来取消指数形式表达,等待Databend支持指数形式表达
66-
return String.valueOf(0.3);
62+
return String.valueOf(value).toLowerCase(); // TODO 待databend支持大写E再去掉小写转换
6763
}
6864

6965
}

0 commit comments

Comments
 (0)