hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bala Divvela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-13317) HCatalog unable to read changed column structure
Date Sun, 20 Mar 2016 09:51:33 GMT
Bala Divvela created HIVE-13317:
-----------------------------------

             Summary: HCatalog unable to read changed column structure
                 Key: HIVE-13317
                 URL: https://issues.apache.org/jira/browse/HIVE-13317
             Project: Hive
          Issue Type: Bug
          Components: Hive
            Reporter: Bala Divvela
            Priority: Minor


I have a table t1 which has a single column of datatype array of struct like `a_details array<struct<a1:string,id:string,number:string>>`.
It has few records for partition up=1 which can be read from both Hive and Pig(via HCatalog)
properly.

Now i need a requirement of adding one more sub column in a_details struct. new structure
would be 
`a_details array<struct<a1:string,id:string,number:string,gender:string>>`. After
the column change few more records have been appended in one more partition ups=2.

Now i am able to read only up=2 partitions data from Pig(HCatalog).
When i try to load up=1 data from t1 table using Pig HCatalog it throws an exception "ERROR
converting read value to tuple".

FYI, I can read all the data from hive properly, it throws exception only when i load from
pig using HCatalog. 

Please help me in resolving this.



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

Mime
View raw message