Skip to content

Commit 35e0d15

Browse files
author
chengyitian
committed
AJ-719: support use String to construct decimal32、64;
1 parent 0b8aab0 commit 35e0d15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/com/xxdb/data/BasicEntityFactory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,10 @@ private static Scalar createScalar(DATA_TYPE dataType, String val, int extraPara
10061006
}
10071007
case DT_STRING:
10081008
return new BasicString(val);
1009+
case DT_DECIMAL32:
1010+
return new BasicDecimal32(val, extraParam);
1011+
case DT_DECIMAL64:
1012+
return new BasicDecimal64(val, extraParam);
10091013
case DT_DECIMAL128:
10101014
return new BasicDecimal128(val, extraParam);
10111015
default:

0 commit comments

Comments
 (0)