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

Xiao Li commented on SPARK-29451:
---------------------------------

Please try the latest version. I am closing this JIRA. Feel free to report it 
as a bugĀ 

> Some queries with divisions in SQL windows are failling in Thrift
> -----------------------------------------------------------------
>
>                 Key: SPARK-29451
>                 URL: https://issues.apache.org/jira/browse/SPARK-29451
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Dylan Guedes
>            Priority: Major
>
> Hello,
> the following queries are not properly working on Thrift. The only difference 
> between them and some other queries that works fine are the numeric 
> divisions, I think.
> {code:sql}
> SELECT four, ten/4 as two,
> sum(ten/4) over (partition by four order by ten/4 rows between unbounded 
> preceding and current row),
> last(ten/4) over (partition by four order by ten/4 rows between unbounded 
> preceding and current row)
> FROM (select distinct ten, four from tenk1) ss;
> {code}
> {code:sql}
> SELECT four, ten/4 as two,
> sum(ten/4) over (partition by four order by ten/4 range between unbounded 
> preceding and current row),
> last(ten/4) over (partition by four order by ten/4 range between unbounded 
> preceding and current row)
> FROM (select distinct ten, four from tenk1) ss;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to