You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/04/04 15:50:00 UTC

[jira] [Commented] (SPARK-23861) Clarify behavior of default window frame boundaries with and without orderBy clause

    [ https://issues.apache.org/jira/browse/SPARK-23861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425749#comment-16425749 ] 

Apache Spark commented on SPARK-23861:
--------------------------------------

User 'icexelloss' has created a pull request for this issue:
https://github.com/apache/spark/pull/20978

> Clarify behavior of default window frame boundaries with and without orderBy clause
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-23861
>                 URL: https://issues.apache.org/jira/browse/SPARK-23861
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Li Jin
>            Priority: Minor
>
> Without an orderBy clause, the default window frame boundary is (rowFrame, unbounded, unbouned). With an orderBy clause, the default window frame boundary is (rangeFrame, unbouned, currentRow). This behavior is by design but is a bit intuitive to people that are not very familiar with SQL window semantics. Let's update the API doc to clarify that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org