[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ https://issues.apache.org/jira/browse/HIVE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasad Mujumdar updated HIVE-7932: -- Resolution: Fixed Fix Version/s: 0.15.0 Status: Resolved (was: Patch Available) Patch committed to trunk. Thanks [~Huang Xiaomeng]! 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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ 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.002.patch Add a testcase to test accessed columns from ReadEntity. 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, 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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ 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.002.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, 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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ https://issues.apache.org/jira/browse/HIVE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaomeng Huang updated HIVE-7932: - Attachment: (was: HIVE-7932.002.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, 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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ https://issues.apache.org/jira/browse/HIVE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaomeng Huang updated HIVE-7932: - Description: {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. 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 {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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ 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)
[jira] [Updated] (HIVE-7932) It may cause NP exception when add accessed columns to ReadEntity
[ https://issues.apache.org/jira/browse/HIVE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brock Noland updated HIVE-7932: --- Status: Patch Available (was: Open) 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)