[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-27 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner updated HIVE-6714:
-

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to trunk and branch. Thanks [~prasanth_j]!

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch, HIVE-6714.2.patch, 
> HIVE-6714.3.patch, HIVE-6714.3.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-25 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-6714:
-

Attachment: HIVE-6714.3.patch

Reuploading for jenkins.

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch, HIVE-6714.2.patch, 
> HIVE-6714.3.patch, HIVE-6714.3.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-24 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-6714:
-

Attachment: HIVE-6714.3.patch

Failed to initialize a variable caused the tests to fail. Fixed it in this 
patch.

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch, HIVE-6714.2.patch, 
> HIVE-6714.3.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-24 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-6714:
-

Attachment: HIVE-6714.2.patch

Reuploading again for jenkins.

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch, HIVE-6714.2.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-23 Thread Vikram Dixit K (JIRA)

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

Vikram Dixit K updated HIVE-6714:
-

Status: Patch Available  (was: Open)

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-20 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-6714:
-

Attachment: HIVE-6714.2.patch

This patch addressed [~hagleitn]'s review comments. The parse() method now 
eliminates the duplicate keys (duplicate key/value offsets are not stored).

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap

2014-03-20 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-6714:
-

Attachment: HIVE-6714.1.patch

> Fix getMapSize() of LazyMap
> ---
>
> Key: HIVE-6714
> URL: https://issues.apache.org/jira/browse/HIVE-6714
> Project: Hive
>  Issue Type: Sub-task
>  Components: Serializers/Deserializers
>Affects Versions: 0.13.0, 0.14.0
>Reporter: Prasanth J
>Assignee: Prasanth J
> Fix For: 0.13.0, 0.14.0
>
> Attachments: HIVE-6714.1.patch
>
>
> HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key 
> separators and maintains a counter for the number of keys i.e; map size. 
> However keys may include duplicates in which returning the number of keys for 
> map size will be wrong as after deserialization the actual map will not have 
> duplicate keys.
> This is a subtask of HIVE-6707 to fix the getMapSize() api.



--
This message was sent by Atlassian JIRA
(v6.2#6252)