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] [Resolved] (DRILL-7616) Wrong MIN() and MAX() values for TSV file
Date Mon, 02 Mar 2020 13:56:00 GMT

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

Simon Jürgensmeyer resolved DRILL-7616.
---------------------------------------
    Resolution: Not A Bug

> 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
>            Priority: Major
>         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