Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[function] need format to compare two strings #13304

Open
wangsimo0 opened this issue Nov 11, 2022 · 15 comments · May be fixed by #37819
Open

[function] need format to compare two strings #13304

wangsimo0 opened this issue Nov 11, 2022 · 15 comments · May be fixed by #37819
Assignees

Comments

@wangsimo0
Copy link
Contributor

wangsimo0 commented Nov 11, 2022

Formats the number X to a format like '#,###,###.##', rounded to D decimal places, and returns the result as a string. If D is 0, the result has no decimal point or fractional part.

please refer to https://dev.mysql.com/doc/refman/5.6/en/string-functions.html#function_format

mysql> SELECT FORMAT(12332.123456, 4);
-> '12,332.1235'
mysql> SELECT FORMAT(12332.1,4);
-> '12,332.1000'
mysql> SELECT FORMAT(12332.2,0);
-> '12,332'

@wangsimo0
Copy link
Contributor Author

@mchades hi could you please reply to this issue so I can assign it to you?

@mchades
Copy link
Contributor

mchades commented Nov 13, 2022

@mchades hi could you please reply to this issue so I can assign it to you?

OK, I will do this

@iiiuwioajdks
Copy link

I see the assign of this issue has been a while, can I also try to complete this, I want some simple issue to cut into starrocks to learn better @wangsimo0

@wangsimo0 wangsimo0 added the good first issue Good for newcomers label May 12, 2023
@kateshaowanjou
Copy link
Contributor

@iiiuwioajdks Hi buddy, are you still working on this issue? If you have any questions, feel free to join WeChat for discussion: https://ma3you.com/articles_qrcode_show/b12e90J.png?le_time=220907203008013206

@Jin-H
Copy link
Contributor

Jin-H commented Nov 2, 2023

@kateshaowanjou @wangsimo0 I want to try this task, can you assign it to me?

@LakshmiGayathri19
Copy link

@wangsimo0 Could you please assign this to me, I would like to contribute to this project.
Thanks in advance

@wangsimo0
Copy link
Contributor Author

sorry for the delay. @Jin-H @LakshmiGayathri19 hi are you still have interest to try this task? sorry again for the delay

@Jin-H
Copy link
Contributor

Jin-H commented Dec 1, 2023

I want to try it, but it might take some time

@LakshmiGayathri19
Copy link

Yea, Even I want to give it a short, but little busy with the end semester projects and exams. I might be free in three weeks, maybe then I will take a look. :")

@wangsimo0
Copy link
Contributor Author

Thanks both of you for your interest in StarRocks :)! In this case base on your situation, @Jin-H will you take this issue? Take your time and let's keep in touch! And sorry for
@LakshmiGayathri19 , Lakshmi you are always welcomed here and we have plenty of other functions on the list like this one #19616 if you still interested. Best wishes for your projects and exams! Hope to see you in three weeks :) Lets keep in touch!

@Jin-H
Copy link
Contributor

Jin-H commented Dec 4, 2023

Thanks both of you for your interest in StarRocks :)! In this case base on your situation, @Jin-H will you take this issue? Take your time and let's keep in touch! And sorry for @LakshmiGayathri19 , Lakshmi you are always welcomed here and we have plenty of other functions on the list like this one #19616 if you still interested. Best wishes for your projects and exams! Hope to see you in three weeks :) Lets keep in touch!

ok

@Jin-H
Copy link
Contributor

Jin-H commented Dec 8, 2023

@wangsimo0 Plz assign it to me, thanks.

@silly-carbon
Copy link
Contributor

hi @wangsimo0
Is anyone still working on this? If no, please re-assign it to me and I will start implementing it now

@Jin-H
Copy link
Contributor

Jin-H commented Dec 22, 2023

Sorry, I originally planned to deal with it in these two weeks, but I have been busy with work recently and have not had time to do this task. At present, I don’t expect to start doing it until after New Year’s Day in 2024. If you particularly want to try this task, Then do it. @silly-carbon

@silly-carbon
Copy link
Contributor

Sorry, I originally planned to deal with it in these two weeks, but I have been busy with work recently and have not had time to do this task. At present, I don’t expect to start doing it until after New Year’s Day in 2024. If you particularly want to try this task, Then do it. @silly-carbon

@Jin-H thanks mate, OK I'll implement this

@wangsimo0 wangsimo0 assigned silly-carbon and unassigned Jin-H Dec 25, 2023
silly-carbon added a commit to silly-carbon/starrocks that referenced this issue Dec 26, 2023
Signed-off-by: Silly Carbon <crew.long@outlook.com>
@silly-carbon silly-carbon linked a pull request Dec 26, 2023 that will close this issue
23 tasks
silly-carbon added a commit to silly-carbon/starrocks that referenced this issue Dec 27, 2023
Signed-off-by: Silly Carbon <crew.long@outlook.com>
silly-carbon added a commit to silly-carbon/starrocks that referenced this issue Jan 12, 2024
Signed-off-by: Silly Carbon <crew.long@outlook.com>
silly-carbon added a commit to silly-carbon/starrocks that referenced this issue Jan 15, 2024
Signed-off-by: Silly Carbon <crew.long@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants