drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3275) Difference in expected results - query that uses window functions
Date Wed, 24 Jun 2015 14:46:04 GMT

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

Deneche A. Hakim updated DRILL-3275:
------------------------------------
    Component/s:     (was: Execution - Flow)
                 Execution - Relational Operators

> Difference in expected results - query that uses window functions
> -----------------------------------------------------------------
>
>                 Key: DRILL-3275
>                 URL: https://issues.apache.org/jira/browse/DRILL-3275
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>    Affects Versions: 1.0.0
>            Reporter: Khurram Faraaz
>            Assignee: Deneche A. Hakim
>            Priority: Critical
>              Labels: window_function
>             Fix For: 1.1.0
>
>
> The following queries return wrong results, there is a difference in actual vs expected
results. Expected results were generated on Postgres 9.3
> These queries were run on 4 node cluster on CentOS, window functions were set.
> {code}
> SELECT MIN(cast( columns[8] as TIME )) OVER(PARTITION BY cast( columns[2] as CHAR(2))
ORDER BY cast( columns[0] as INT )) FROM `allData.csv`;
> {code}
> {code}
> SELECT SUM(cast( columns[0] as INT )) OVER(PARTITION BY cast( columns[2] as CHAR(2))
ORDER BY cast( columns[0] as INT )) FROM `allData.csv`;
> {code}
> {code}
> SELECT MAX(cast( columns[8] as TIME )) OVER(PARTITION BY cast( columns[2] as CHAR(2))
ORDER BY cast( columns[0] as INT )) FROM `allData.csv`;
> {code}
> {code}
> SELECT SUM(cast( columns[1] as BIGINT )) OVER(PARTITION BY cast( columns[2] as CHAR(2))
ORDER BY cast( columns[0] as INT )) FROM `allData.csv`;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message