Functions.Length(Column) 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for