You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Simon Jürgensmeyer (Jira)" <ji...@apache.org> on 2020/03/02 13:18:00 UTC
[jira] [Created] (DRILL-7616) Wrong MIN() and MAX() values for TSV
file
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)