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

Phabricator updated HIVE-5364:
------------------------------

    Attachment: D13215.1.patch

omalley requested code review of "HIVE-5364 [jira] NPE on some queries from 
partitioned orc table".

Reviewers: JIRA

HIVE-5364 NPE in OrcInputFormat

If you create a partitioned ORC table with:

create table A (
  id int
) PARTITIONED BY (
year int,
month int,
day int)

This query will fail when predicate pushdown is on:
SELECT id FROM A WHERE id > 90;

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D13215

AFFECTED FILES
  data/files/orc_create_people.txt
  ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java
  ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java
  ql/src/test/queries/clientpositive/orc_create.q
  ql/src/test/results/clientpositive/orc_create.q.out

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/38853/

To: JIRA, omalley


> NPE on some queries from partitioned orc table
> ----------------------------------------------
>
>                 Key: HIVE-5364
>                 URL: https://issues.apache.org/jira/browse/HIVE-5364
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Blocker
>         Attachments: D13215.1.patch
>
>
> If you create a partitioned ORC table with:
> {code}
> create table A
> ...
> PARTITIONED BY (
> year int,
> month int,
> day int)
> {code}
> This query will fail:
> select count from A where where year=2013 and month=9 and day=15;



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to