You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "hayden520 (via GitHub)" <gi...@apache.org> on 2024/01/30 01:12:26 UTC

[I] [Bug] SELECT 10.5 DIV 2 * 2 AS "mynum" Why is the result 2 [doris]

hayden520 opened a new issue, #30539:
URL: https://github.com/apache/doris/issues/30539

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   2.0.3-rc6
   
   ### What's Wrong?
   
   I would like to ask what is the result of executing this in the terminal and whether this is a problem.
   
   `
   mysql> SELECT 10.5 DIV 2 * 2 AS "mynum";
   +-------+
   | mynum |
   +-------+
   |     2 |
   +-------+
   1 row in set (0.01 sec)
   
   mysql>
   `
   
   
   ### What You Expected?
   
   10
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscribe@doris.apache.org.apache.org

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


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


Re: [I] [Bug] SELECT 10.5 DIV 2 * 2 AS "mynum" Why is the result 2 [doris]

Posted by "HappenLee (via GitHub)" <gi...@apache.org>.
HappenLee commented on issue #30539:
URL: https://github.com/apache/doris/issues/30539#issuecomment-1915975965

   master seems right,only 2.0.3 have bug?


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [I] [Bug] SELECT 10.5 DIV 2 * 2 AS "mynum" Why is the result 2 [doris]

Posted by "zhbdesign (via GitHub)" <gi...@apache.org>.
zhbdesign commented on issue #30539:
URL: https://github.com/apache/doris/issues/30539#issuecomment-1915972327

   doris-2.0.2-rc05,查询结果是10


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [I] [Bug] SELECT 10.5 DIV 2 * 2 AS "mynum" Why is the result 2 [doris]

Posted by "hayden520 (via GitHub)" <gi...@apache.org>.
hayden520 commented on issue #30539:
URL: https://github.com/apache/doris/issues/30539#issuecomment-1916710818

   thx


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [I] [Bug] SELECT 10.5 DIV 2 * 2 AS "mynum" Why is the result 2 [doris]

Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow commented on issue #30539:
URL: https://github.com/apache/doris/issues/30539#issuecomment-1916365188

   it is a bug in Nereids, i will fix it


-- 
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-unsubscribe@doris.apache.org

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


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