924060929 commented on PR #49416:
URL: https://github.com/apache/doris/pull/49416#issuecomment-2753112988

   can you test these case to check your fix? @LiBinfeng-01 
   ```sql
   set debug_skip_fold_constant=true;
   select cast(1.000001 as varchar(7));
   ```
   the backend return the result: `1.0`
   
   and 
   ```sql
   set debug_skip_fold_constant=true;
   select cast(1.000001 as varchar(8));
   ```
   the backend return the result: `1.000001`


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to