spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-29451) Some queries with divisions in SQL windows are failling in Thrift
Date Sun, 01 Dec 2019 22:29:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-29451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiao Li resolved SPARK-29451.
-----------------------------
    Resolution: Cannot Reproduce

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message