You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org> on 2024/03/25 06:39:39 UTC
[I] Enhancement of round based function [doris]
zhiqiang-hhhh opened a new issue, #32755:
URL: https://github.com/apache/doris/issues/32755
### Discussed in https://github.com/apache/doris/discussions/32086
We need to make round based functions support using column as its scale argument.
- [ ] Truncate
- [ ] Round
- [ ] Floor
- [ ] Ceil
--
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] Enhancement of round based function [doris]
Posted by "superdiaodiao (via GitHub)" <gi...@apache.org>.
superdiaodiao commented on issue #32755:
URL: https://github.com/apache/doris/issues/32755#issuecomment-2081316918
> @superdiaodiao thanks for your attention, they are pending, and they are yours.
>
> Just to let you know, the task is not difficult, but need much explore work in mysql.
>
> Specifically, we need to make sure we have same behaviour with mysql, for example, in function truncate, when using literal as scale argument, its behaviour is different from using column as scale argument. I do not test the others in mysql, but I think they may have same problem.
>
> Tips for implementation:
> 1. The pression of decimal should not change.
> 2. The scale of decimal may depend on the specific situation ( need to be same with mysql)
> 3. Need BEUT & regression test
> 4. docs update in https://github.com/apache/doris-website
>
> Thanks your attention again, enjoy the process!
Alright, thank you very much~~~
I will try my best and may need your review in the future PR.
--
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] Enhancement of round based function [doris]
Posted by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org>.
zhiqiang-hhhh closed issue #32755: Enhancement of round based function
URL: https://github.com/apache/doris/issues/32755
--
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] Enhancement of round based function [doris]
Posted by "superdiaodiao (via GitHub)" <gi...@apache.org>.
superdiaodiao commented on issue #32755:
URL: https://github.com/apache/doris/issues/32755#issuecomment-2080426672
May I ask the other three enhancement tasks assigned to anyone? If not, could you assign to me?
--
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] Enhancement of round based function [doris]
Posted by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org>.
zhiqiang-hhhh commented on issue #32755:
URL: https://github.com/apache/doris/issues/32755#issuecomment-2081301131
> May I ask the other three enhancement tasks assigned to anyone? If not, could you assign to me?
@superdiaodiao thanks for your attention, they are pending, and they are yours.
Just to let you know, the task is not difficult, but need much explore work in mysql.
Specifically, we need to make sure we have same behaviour with mysql, for example, in function truncate, when using literal as scale argument, its behaviour is different from using column as scale argument. I do not test the others in mysql, but I think they may have same problem.
Tips for implementation:
1. The pression of decimal should not change.
2. The scale of decimal may depend on the specific situation ( need to be same with mysql)
3. Need BEUT & regression test
4. docs update in https://github.com/apache/doris-website
Thanks your attention again, enjoy the process!
--
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] Enhancement of round based function [doris]
Posted by "zhiqiang-hhhh (via GitHub)" <gi...@apache.org>.
zhiqiang-hhhh commented on issue #32755:
URL: https://github.com/apache/doris/issues/32755#issuecomment-2017325467
truncate: https://github.com/apache/doris/pull/32746
--
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