drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Jürgensmeyer (Jira) <j...@apache.org>
Subject [jira] [Created] (DRILL-7616) Wrong MIN() and MAX() values for TSV file
Date Mon, 02 Mar 2020 13:18:00 GMT
Simon Jürgensmeyer created DRILL-7616:
-----------------------------------------

             Summary: Wrong MIN() and MAX() values for TSV file
                 Key: DRILL-7616
                 URL: https://issues.apache.org/jira/browse/DRILL-7616
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.17.0
         Environment: Docker image
            Reporter: Simon Jürgensmeyer
         Attachments: requests.tsv

MIN() and MAX() give wrong results.
{code:java}
SELECT MIN(requests) FROM TABLE(dfs.`/.../requests.tsv`(type => 'text', extractHeader =>
true, fieldDelimiter => '\t'));
+--------+ 
| EXPR$0 | 
+--------+ 
| 102996 | 
+--------+
{code}
 Expected MIN value: 2020

 
{code:java}
SELECT MAX(requests) FROM TABLE(dfs.`/.../requests.tsv`(type => 'text', extractHeader =>
true, fieldDelimiter => '\t'));
+--------+
| EXPR$0 |
+--------+
| 97728  |
+--------+
{code}
 Expected MAX value: 185594



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

Mime
View raw message