Window.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) |
Creates a |
RangeBetween(Int64, Int64) |
Creates a |
RangeBetween(Column, Column)
Creates a WindowSpec
with the frame boundaries defined,
from start
(inclusive) to end
(inclusive).
[Microsoft.Spark.Deprecated("2.4.0")]
[Microsoft.Spark.Removed("3.0.0")]
public static 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")>]
static member RangeBetween : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Shared 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)
Creates a WindowSpec
with the frame boundaries defined,
from start
(inclusive) to end
(inclusive).
public static Microsoft.Spark.Sql.Expressions.WindowSpec RangeBetween (long start, long end);
static member RangeBetween : int64 * int64 -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Shared 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
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