hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaomeng Huang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
Date Tue, 02 Sep 2014 01:12:20 GMT

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

Xiaomeng Huang updated HIVE-7932:
---------------------------------
    Attachment: HIVE-7932.001.patch

> It may cause NP exception when add accessed columns to ReadEntity
> -----------------------------------------------------------------
>
>                 Key: HIVE-7932
>                 URL: https://issues.apache.org/jira/browse/HIVE-7932
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>         Attachments: HIVE-7932.001.patch
>
>
> {code}
> case TABLE:
>    entity.getAccessedColumns().addAll(
>       tableToColumnAccessMap.get(entity.getTable().getCompleteName()));
> {code}
> if  tableToColumnAccessMap.get(entity.getTable().getCompleteName()) is null, addAll(null)
will throw null pointer exception.



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

Mime
View raw message