[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-05-12 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan updated HIVE-6783:
---

Fix Version/s: 0.13.1

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.14.0, 0.13.1
>
> Attachments: HIVE-6783.1.patch.txt, HIVE-6783.2.patch.txt, 
> HIVE-6783.3.patch.txt, HIVE-6783.4.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-04-02 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang updated HIVE-6783:
--

   Resolution: Fixed
Fix Version/s: (was: 0.13.0)
   0.14.0
   Status: Resolved  (was: Patch Available)

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.14.0
>
> Attachments: HIVE-6783.1.patch.txt, HIVE-6783.2.patch.txt, 
> HIVE-6783.3.patch.txt, HIVE-6783.4.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-03-29 Thread Tongjie Chen (JIRA)

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

Tongjie Chen updated HIVE-6783:
---

Attachment: HIVE-6783.4.patch.txt

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.13.0
>
> Attachments: HIVE-6783.1.patch.txt, HIVE-6783.2.patch.txt, 
> HIVE-6783.3.patch.txt, HIVE-6783.4.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-03-29 Thread Tongjie Chen (JIRA)

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

Tongjie Chen updated HIVE-6783:
---

Attachment: HIVE-6783.3.patch.txt

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.13.0
>
> Attachments: HIVE-6783.1.patch.txt, HIVE-6783.2.patch.txt, 
> HIVE-6783.3.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-03-29 Thread Tongjie Chen (JIRA)

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

Tongjie Chen updated HIVE-6783:
---

Attachment: HIVE-6783.2.patch.txt

remove tab and clean up some format

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.13.0
>
> Attachments: HIVE-6783.1.patch.txt, HIVE-6783.2.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-03-28 Thread Tongjie Chen (JIRA)

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

Tongjie Chen updated HIVE-6783:
---

Fix Version/s: 0.13.0
   Status: Patch Available  (was: Open)

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.13.0
>
> Attachments: HIVE-6783.1.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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


[jira] [Updated] (HIVE-6783) Incompatible schema for maps between parquet-hive and parquet-pig

2014-03-28 Thread Tongjie Chen (JIRA)

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

Tongjie Chen updated HIVE-6783:
---

Attachment: HIVE-6783.1.patch.txt

this patch will correctly convert hive map type (consistent with Pig map)

> Incompatible schema for maps between parquet-hive and parquet-pig
> -
>
> Key: HIVE-6783
> URL: https://issues.apache.org/jira/browse/HIVE-6783
> Project: Hive
>  Issue Type: Bug
>  Components: File Formats
>Affects Versions: 0.13.0
>Reporter: Tongjie Chen
> Fix For: 0.13.0
>
> Attachments: HIVE-6783.1.patch.txt
>
>
> see also in following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/290
> The schema written for maps isn't compatible between hive and pig. This means 
> any files written in one cannot be properly read in the other.
> More specifically,  for the same map column c1, parquet-pig generates schema:
> message pig_schema {
>   optional group c1 (MAP) {
> repeated group map (MAP_KEY_VALUE) {
>   required binary key (UTF8);
>   optional binary value;
> }   
>   }
> }
> while parquet-hive generates schema:
> message hive_schema {
>optional group c1 (MAP_KEY_VALUE) {
>  repeated group map {
>required binary key;
>optional binary value;
>}
>  }
> }



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