You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Khurram Faraaz (JIRA)" <ji...@apache.org> on 2017/07/06 17:17:00 UTC
[jira] [Commented] (DRILL-2759) Wrong result on count(*) from empty
csv file
[ https://issues.apache.org/jira/browse/DRILL-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076923#comment-16076923 ]
Khurram Faraaz commented on DRILL-2759:
---------------------------------------
Fixed in Drill 1.10.0
{noformat}
[root@centos-01 ~]# ls -lrt empty.csv
-rw-r--r-- 1 root root 0 Mar 14 2016 empty.csv
apache drill 1.10.0
"the only truly happy people are children, the creative minority and drill users"
0: jdbc:drill:schema=dfs.tmp> select count(*) from `empty.csv`;
---------
| EXPR$0 |
---------
| 0 |
---------
1 row selected (0.526 seconds)
{noformat}
> Wrong result on count(*) from empty csv file
> --------------------------------------------
>
> Key: DRILL-2759
> URL: https://issues.apache.org/jira/browse/DRILL-2759
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Text & CSV
> Affects Versions: 0.9.0
> Reporter: Victoria Markman
> Assignee: Paul Rogers
> Priority: Critical
> Fix For: Future
>
>
> t1.csv is an empty file:
> {code}
> 0: jdbc:drill:schema=dfs> select count(*) from `bigtable/2015/01/t1.csv`;
> Query failed: IllegalArgumentException: Incoming endpoints 1 is greater than number of row groups 0
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)