manannan2017 opened a new issue #2259: cast decimal,query large precision or 
small precision, the result precision is same as creating table
URL: https://github.com/apache/incubator-doris/issues/2259
 
 
   1、table
   k2 decimal(9,3)
   
![image](https://user-images.githubusercontent.com/33174388/69305911-ac941100-0c60-11ea-8aca-6e810c84c2f2.png)
   
   2、sql
   
![image](https://user-images.githubusercontent.com/33174388/69305884-88d0cb00-0c60-11ea-8f21-3440ab9070af.png)
   
   3、excepted 
   select cast(k2 as decimal(9,3)) from table:
    8.123
   8.220
   123456.123

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to