You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ja...@apache.org on 2022/10/26 13:37:30 UTC

[doris] branch master updated: nereids use decimal(27,9) (#13678)

This is an automated email from the ASF dual-hosted git repository.

jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ddb27b9c3f nereids use decimal(27,9) (#13678)
ddb27b9c3f is described below

commit ddb27b9c3f106a25c152aa861f67996d949e21a8
Author: minghong <mi...@163.com>
AuthorDate: Wed Oct 26 21:37:24 2022 +0800

    nereids use decimal(27,9) (#13678)
---
 .../src/main/java/org/apache/doris/nereids/types/DecimalType.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/types/DecimalType.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/types/DecimalType.java
index 8abecdc061..9097a2d45c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/types/DecimalType.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/types/DecimalType.java
@@ -98,7 +98,7 @@ public class DecimalType extends FractionalType {
 
     @Override
     public Type toCatalogDataType() {
-        return Type.DECIMALV2;
+        return Type.MAX_DECIMALV2_TYPE;
     }
 
     public int getPrecision() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org