-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
lpad/rpad function support default value #15021
Labels
Comments
@predator4ann Can you make a comment here so I can assign this issue to you? |
@kateshaowanjou Sure, you can assign the issue to me. Let me know if you have any further questions or concerns. |
11 tasks
11 tasks
kangkaisen
pushed a commit
that referenced
this issue
May 17, 2023
## Which issues of this PR fixes: Fixes #15021 Signed-off-by: predator4ann <yunlong.sun@hotmail.com>
Moonm3n
pushed a commit
to Moonm3n/starrocks
that referenced
this issue
May 23, 2023
## Which issues of this PR fixes: Fixes StarRocks#15021 Signed-off-by: predator4ann <yunlong.sun@hotmail.com> Signed-off-by: Moonm3n <saxonzhan@gmail.com>
abc982627271
pushed a commit
to abc982627271/starrocks
that referenced
this issue
Jun 5, 2023
## Which issues of this PR fixes: Fixes StarRocks#15021 Signed-off-by: predator4ann <yunlong.sun@hotmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request
StarRocks already support the rpad function and lpad function. However, the third parameter is not optional.
For easy to use purpose, it's better to make the third value optional with a default value ' ', a single blank.
That means:
It will be like:
will be equal to
and returns
will be equal to
and returns
The text was updated successfully, but these errors were encountered: