drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-3278) SUM(CAST(columns[0] AS BIGINT)) OVER(...) gives wrong results
Date Thu, 11 Jun 2015 16:28:02 GMT
Deneche A. Hakim created DRILL-3278:
---------------------------------------

             Summary: SUM(CAST(columns[0] AS BIGINT)) OVER(...) gives wrong results
                 Key: DRILL-3278
                 URL: https://issues.apache.org/jira/browse/DRILL-3278
             Project: Apache Drill
          Issue Type: Sub-task
          Components: Execution - Flow
            Reporter: Deneche A. Hakim
            Assignee: Deneche A. Hakim
             Fix For: 1.1.0


The following query return wrong results, there is a difference in actual vs expected results.
Expected results were generated on Postgres 9.3
{noformat}
SELECT 
  SUM(cast( columns[0] as INT )) 
    OVER(PARTITION BY cast( columns[2] as CHAR(2))) 
FROM `allData.csv`;
{noformat}




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

Mime
View raw message