[jira] [Updated] (HIVE-8523) Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()

2014-12-09 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-8523:
-
   Resolution: Fixed
Fix Version/s: 0.15.0
   Status: Resolved  (was: Patch Available)

Committed to trunk.

> Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()
> --
>
> Key: HIVE-8523
> URL: https://issues.apache.org/jira/browse/HIVE-8523
> Project: Hive
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Navis
>Priority: Minor
> Fix For: 0.15.0
>
> Attachments: HIVE-8523.1.patch.txt, HIVE-8523.2.patch.txt
>
>
> Here is related code:
> {code}
> if (desc == null
> || 
> !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) {
>   throw new SemanticException(
>   ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, 
> desc.getOp().name());
> {code}
> If desc is null, the construction of SemanticException would trigger NPE due 
> to the call to desc.getOp().



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


[jira] [Updated] (HIVE-8523) Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()

2014-12-07 Thread Navis (JIRA)

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

Navis updated HIVE-8523:

Attachment: HIVE-8523.2.patch.txt

> Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()
> --
>
> Key: HIVE-8523
> URL: https://issues.apache.org/jira/browse/HIVE-8523
> Project: Hive
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Navis
>Priority: Minor
> Attachments: HIVE-8523.1.patch.txt, HIVE-8523.2.patch.txt
>
>
> Here is related code:
> {code}
> if (desc == null
> || 
> !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) {
>   throw new SemanticException(
>   ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, 
> desc.getOp().name());
> {code}
> If desc is null, the construction of SemanticException would trigger NPE due 
> to the call to desc.getOp().



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


[jira] [Updated] (HIVE-8523) Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()

2014-10-20 Thread Navis (JIRA)

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

Navis updated HIVE-8523:

Attachment: HIVE-8523.1.patch.txt

> Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()
> --
>
> Key: HIVE-8523
> URL: https://issues.apache.org/jira/browse/HIVE-8523
> Project: Hive
>  Issue Type: Bug
>Reporter: Ted Yu
>Priority: Minor
> Attachments: HIVE-8523.1.patch.txt
>
>
> Here is related code:
> {code}
> if (desc == null
> || 
> !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) {
>   throw new SemanticException(
>   ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, 
> desc.getOp().name());
> {code}
> If desc is null, the construction of SemanticException would trigger NPE due 
> to the call to desc.getOp().



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


[jira] [Updated] (HIVE-8523) Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()

2014-10-20 Thread Navis (JIRA)

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

Navis updated HIVE-8523:

Assignee: Navis
  Status: Patch Available  (was: Open)

> Potential null dereference in DDLSemanticAnalyzer#addInputsOutputsAlterTable()
> --
>
> Key: HIVE-8523
> URL: https://issues.apache.org/jira/browse/HIVE-8523
> Project: Hive
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Navis
>Priority: Minor
> Attachments: HIVE-8523.1.patch.txt
>
>
> Here is related code:
> {code}
> if (desc == null
> || 
> !AlterTableDesc.doesAlterTableTypeSupportPartialPartitionSpec(desc.getOp())) {
>   throw new SemanticException(
>   ErrorMsg.ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED, 
> desc.getOp().name());
> {code}
> If desc is null, the construction of SemanticException would trigger NPE due 
> to the call to desc.getOp().



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