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

Prasad Mujumdar commented on HIVE-7932:
---------------------------------------

[~vikram.dixit] Requesting backport to 0.14. It's a followup to HIVE-7730 which 
is already in 0.14. Thanks!

> 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
>             Fix For: 0.15.0
>
>         Attachments: HIVE-7932.001.patch, HIVE-7932.002.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)

Reply via email to