[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-22 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-3680:
---

Fix Version/s: 0.9.1

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
>Assignee: Mithun Radhakrishnan
> Fix For: 0.10.0, 0.9.1
>
> Attachments: HIVE-3680.branch9.patch, HIVE-3680.trunk.patch
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-15 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-3680:
---

   Resolution: Fixed
Fix Version/s: (was: 0.9.1)
   0.10.0
 Assignee: Mithun Radhakrishnan
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Mithun!

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
>Assignee: Mithun Radhakrishnan
> Fix For: 0.10.0
>
> Attachments: HIVE-3680.branch9.patch, HIVE-3680.trunk.patch
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-13 Thread Mithun Radhakrishnan (JIRA)

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

Mithun Radhakrishnan updated HIVE-3680:
---

Attachment: HIVE-3680.trunk.patch
HIVE-3680.branch9.patch

@[~ashutoshc]: Quite right. Here's the updated diff(s), with tests modified. 
Does this look alright?

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
> Fix For: 0.9.1
>
> Attachments: HIVE-3680.branch9.patch, HIVE-3680.trunk.patch
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-13 Thread Mithun Radhakrishnan (JIRA)

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

Mithun Radhakrishnan updated HIVE-3680:
---

Attachment: (was: HIVE-3680.patch)

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
> Fix For: 0.9.1
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mithun Radhakrishnan (JIRA)

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

Mithun Radhakrishnan updated HIVE-3680:
---

Status: Patch Available  (was: Open)

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
> Fix For: 0.9.1
>
> Attachments: HIVE-3680.patch
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-3680) Include Table information in Hive's AddPartitionEvent.

2012-11-06 Thread Mithun Radhakrishnan (JIRA)

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

Mithun Radhakrishnan updated HIVE-3680:
---

Attachment: HIVE-3680.patch

Proposed change.

> Include Table information in Hive's AddPartitionEvent.
> --
>
> Key: HIVE-3680
> URL: https://issues.apache.org/jira/browse/HIVE-3680
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Affects Versions: 0.9.1
>Reporter: Mithun Radhakrishnan
> Fix For: 0.9.1
>
> Attachments: HIVE-3680.patch
>
>
> This has to do with a minor overhaul of the HCatalog notifications that we're 
> attempting in HCATALOG-546.
> It is proposed that HCatalog's notifications (on Add/Drop of Partitions) 
> provide details to identify the affected partitions. 
> Using the Partition object in AddPartitionEvent, one is able to retrieve the 
> values of the partition-keys and the name of the Table. However, the 
> partition-keys themselves aren't available (since the Table instance isn't 
> part of the AddPartitionEvent).
> Adding the table-reference to the AddPartitionEvent and DropPartitionEvent 
> classes will expose all the info we need. (The alternative is to query the 
> metastore for the table's schema and use the partition-keys from there. :/)
> I'll post a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira