You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Victoria Markman (JIRA)" <ji...@apache.org> on 2015/10/09 00:38:26 UTC
[jira] [Commented] (DRILL-2759) Improve error message when reading
from an empty csv file
[ https://issues.apache.org/jira/browse/DRILL-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949537#comment-14949537 ]
Victoria Markman commented on DRILL-2759:
-----------------------------------------
As of 1.2.0
I think expected result is 0 and not an empty set ... please correct me if I'm wrong.
{code}
0: jdbc:drill:schema=dfs> select count(*) from `empty.csv`;
+--+
| |
+--+
+--+
No rows selected (0.245 seconds)
{code}
> Improve error message when reading from an 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
> Priority: Minor
> 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.3.4#6332)