WindowSpec.RangeBetween 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
RangeBetween(Column, Column) |
Defines the frame boundaries, from |
RangeBetween(Int64, Int64) |
Defines the frame boundaries, from |
RangeBetween(Column, Column)
Defines the frame boundaries, from start
(inclusive) to end
(inclusive).
[Microsoft.Spark.Deprecated("2.4.0")]
[Microsoft.Spark.Removed("3.0.0")]
public Microsoft.Spark.Sql.Expressions.WindowSpec RangeBetween (Microsoft.Spark.Sql.Column start, Microsoft.Spark.Sql.Column end);
[<Microsoft.Spark.Deprecated("2.4.0")>]
[<Microsoft.Spark.Removed("3.0.0")>]
member this.RangeBetween : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function RangeBetween (start As Column, end As Column) As WindowSpec
Parameters
- start
- Column
Boundary start, inclusive. The frame is unbounded if the expression is
Microsoft.Spark.Sql.Functions.UnboundedPreceding()
- end
- Column
Boundary end, inclusive. The frame is unbounded if the expression is
Microsoft.Spark.Sql.Functions.UnboundedFollowing()
Returns
WindowSpec object
- Attributes
Remarks
This API is deprecated in Spark 2.4 and removed in Spark 3.0.
Applies to
RangeBetween(Int64, Int64)
Defines the frame boundaries, from start
(inclusive) to end
(inclusive).
public Microsoft.Spark.Sql.Expressions.WindowSpec RangeBetween (long start, long end);
member this.RangeBetween : int64 * int64 -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function RangeBetween (start As Long, end As Long) As WindowSpec
Parameters
- start
- Int64
Boundary start, inclusive. The frame is unbounded if this is
the minimum long value Window.s_unboundedPreceding
.
- end
- Int64
Boundary end, inclusive. The frame is unbounded if this is
maximum long value Window.s_unboundedFollowing
.
Returns
WindowSpec object