You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (Jira)" <ji...@apache.org> on 2019/10/11 10:27:00 UTC
[jira] [Commented] (DRILL-3776) count(*) from empty text file does
not return 0
[ https://issues.apache.org/jira/browse/DRILL-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16949347#comment-16949347 ]
Arina Ielchiieva commented on DRILL-3776:
-----------------------------------------
Fixed for empty CSV in Drill 1.17.0. Query over empty JSON file still returns nothing.
> count(*) from empty text file does not return 0
> -----------------------------------------------
>
> Key: DRILL-3776
> URL: https://issues.apache.org/jira/browse/DRILL-3776
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Text & CSV
> Reporter: Sean Hsuan-Yi Chu
> Priority: Major
> Fix For: Future
>
>
> {code}
> select count(*) from `empty.csv`;
> {code}
> {code}
> select count(*) from `empty.json`;
> {code}
> Both return no record, no schema. But in postgres, it returns 0 for both cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)