You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2020/10/13 08:27:00 UTC
[jira] [Updated] (SPARK-33126) Simplify offset window
function(Remove direction field)
[ https://issues.apache.org/jira/browse/SPARK-33126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jiaan.geng updated SPARK-33126:
-------------------------------
Summary: Simplify offset window function(Remove direction field) (was: Improve offset window function(Remove direction field))
> Simplify offset window function(Remove direction field)
> -------------------------------------------------------
>
> Key: SPARK-33126
> URL: https://issues.apache.org/jira/browse/SPARK-33126
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: jiaan.geng
> Priority: Major
>
> The current Lead/Lag extends OffsetWindowFunction. OffsetWindowFunction contains field direction and use direction to calculate the boundary.
> We can use single literal expression unify the two properties.
> For example:
> 3 means direction is Asc and boundary is 3.
> -3 means direction is Desc and boundary is -3.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org