You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lpad - Prepends padtext to basetext in a way that allows as many characters as possible from padtext given an output string length of x. When x is less than or equal to the length of basetext, only characters from basetext are printed in the output. If padtext is omitted then spaces are prepended.
rpad - Appends padtext to basetext in a way that allows as many characters as possible from padtext given an output string length of x. When x is less than or equal to the length of basetext, only characters from basetext are printed in the output. If padtext is omitted then spaces are appended.
Implement LPAD and RPAD functions for string input values.
LPAD([string] basetext, [number] x, [optional string] padtext)
RPAD([string] basetext, [number] x, [optional string] padtext)
lpad - Prepends padtext to basetext in a way that allows as many characters as possible from padtext given an output string length of x. When x is less than or equal to the length of basetext, only characters from basetext are printed in the output. If padtext is omitted then spaces are prepended.
rpad - Appends padtext to basetext in a way that allows as many characters as possible from padtext given an output string length of x. When x is less than or equal to the length of basetext, only characters from basetext are printed in the output. If padtext is omitted then spaces are appended.
Reporter: João Pedro Antunes Ferreira / @jpedroantunes
Assignee: João Pedro Antunes Ferreira / @jpedroantunes
PRs and other links:
Note: This issue was originally created as ARROW-12567. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: