Share via


Functions.Length(Column) Method

Definition

Computes the character length of a given string or number of bytes of a binary string.

public static Microsoft.Spark.Sql.Column Length (Microsoft.Spark.Sql.Column column);
static member Length : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Length (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Remarks

The length of character strings includes the trailing spaces. The length of binary strings includes binary zeros.

Applies to