You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "TangSiyang2001 (via GitHub)" <gi...@apache.org> on 2023/06/15 12:36:00 UTC

[GitHub] [doris] TangSiyang2001 opened a new issue, #20868: [Bug] failed to create float type column with default value

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

   ### 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
   
   all
   
   ### What's Wrong?
   
   as title, float type column always encounters error "Default value will loose precision"
   
   ### What You Expected?
   
   created normally.
   
   ### How to Reproduce?
   
   create a table with column like:
   ```sql
   `k1` float default "3.14"
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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


[GitHub] [doris] yiguolei closed issue #20868: [Bug] failed to create float type column with default value

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei closed issue #20868: [Bug] failed to create float type column with default value
URL: https://github.com/apache/doris/issues/20868


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


[GitHub] [doris] yiguolei commented on issue #20868: [Bug] failed to create float type column with default value

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

   Maybe we could not do that, because float is not accurate, and if we save the default value, then we could not select it using where clause.


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