You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/11/12 02:19:11 UTC

[jira] [Updated] (DRILL-4075) Assertion Error in PruneScanRule when querying empty partitioned hive tables

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

Rahul Challapalli updated DRILL-4075:
-------------------------------------
    Attachment: error.log

> Assertion Error in PruneScanRule when querying empty partitioned hive tables
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-4075
>                 URL: https://issues.apache.org/jira/browse/DRILL-4075
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization, Storage - Hive
>    Affects Versions: 1.3.0
>            Reporter: Rahul Challapalli
>         Attachments: error.log
>
>
> git.commit.id.abbrev=e78e286
> Hive DDL :
> {code}
> CREATE TABLE empty_p (
>     int_col INT
>    )
> PARTITIONED BY (varchar_col STRING)
> ROW FORMAT DELIMITED FIELDS TERMINATED BY "|"
> STORED AS TEXTFILE LOCATION "/drill/testdata/empty_p";
> {code}
> The above table is empty. Now the below query fails with an assertion error
> {code}
> explain plan for select * from hive.empty_lengthy_p where varchar_col is null;
> Error: SYSTEM ERROR: AssertionError
> [Error Id: d9e8c786-0ff9-4ccc-96aa-cbc7adbd7e03 on qa-node190.qa.lab:31010] (state=,code=0)
> {code}
> Logs are attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)