Functions.Sequence 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.
Overloads
Sequence(Column, Column, Column) |
Generate a sequence of integers from |
Sequence(Column, Column) |
Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1. |
Sequence(Column, Column, Column)
Generate a sequence of integers from start
to stop
, incrementing by step
.
[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column Sequence(Microsoft.Spark.Sql.Column start, Microsoft.Spark.Sql.Column stop, Microsoft.Spark.Sql.Column step);
[<Microsoft.Spark.Since("2.4.0")>]
static member Sequence : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Sequence (start As Column, stop As Column, step As Column) As Column
Parameters
- start
- Column
Start expression
- stop
- Column
Stop expression
- step
- Column
Step to increment
Returns
Column object
- Attributes
Applies to
Sequence(Column, Column)
Generate a sequence of integers from start to stop, incrementing by 1 if start is less than or equal to stop, otherwise -1.
[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column Sequence(Microsoft.Spark.Sql.Column start, Microsoft.Spark.Sql.Column stop);
[<Microsoft.Spark.Since("2.4.0")>]
static member Sequence : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Sequence (start As Column, stop As Column) As Column
Parameters
- start
- Column
Start expression
- stop
- Column
Stop expression
Returns
Column object
- Attributes