You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth J (JIRA)" <ji...@apache.org> on 2014/03/03 23:41:24 UTC

[jira] [Commented] (HIVE-6532) ORC NPE on null Map

    [ https://issues.apache.org/jira/browse/HIVE-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918675#comment-13918675 ] 

Prasanth J commented on HIVE-6532:
----------------------------------

ORC creates SARG (searchable argument) when there are where predicates in the query. SARG creation fails for non-primitive columns. This is already tracked in HIVE-5567. The fix for it should go in next release.

> ORC NPE on null Map
> -------------------
>
>                 Key: HIVE-6532
>                 URL: https://issues.apache.org/jira/browse/HIVE-6532
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 0.12.0
>         Environment: ubuntu 12.04 
>            Reporter: nicolas maillard
>            Priority: Trivial
>
> On a select query map tasks will fail with npe for a where clause on a null map. on an ORC table 
> example
>  select * from my table where mymap['entry'] = 'something'
> If my map where to be null in a line we will get an npe exception.
> Maybe the line should just be ignored.
> The same query on a text format table will resolve correctly



--
This message was sent by Atlassian JIRA
(v6.2#6252)