Functions.Rpad(Column, Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Right-pad the string column with pad to the given length len
. If the string column is
longer than len
, the return value is shortened to len
characters.
public static Microsoft.Spark.Sql.Column Rpad(Microsoft.Spark.Sql.Column column, int len, string pad);
static member Rpad : Microsoft.Spark.Sql.Column * int * string -> Microsoft.Spark.Sql.Column
Public Shared Function Rpad (column As Column, len As Integer, pad As String) As Column
Parameters
- column
- Column
Column to apply
- len
- Int32
Length of padded string
- pad
- String
String used for padding
Returns
Column object