sidnakoppa opened a new issue #923: reading array types via hive
URL: https://github.com/apache/accumulo/issues/923
 
 
   Team,
   
   When I read the contents of table via hive.I am unable to fetch complete 
details.
   But via accumulo shell ,i can see that data has been inserted .
   Could you please help .I have to read the the data in spark(java)
   
   Table `DDL`
   
   > CREATE TABLE acc_arr_dec(rowid INT,unique_id array<decimal>)
   > STORED BY 'org.apache.hadoop.hive.accumulo.AccumuloStorageHandler' WITH 
SERDEPROPERTIES('accumulo.columns.mapping' = ':rowid,account:at_unique_id')
   > 
   
   Hive out-put
   
   > hive> select * from acc_arr_dec;
   > OK
   > 121                 [null]
   > 1221       [null]
   
   
   Accumulo shell output
   
   > root@hdp-accumulo-instance> scan -t acc_arr_dec
   > 121 account:at_unique_id []    1\x03\x00\x00\x00\x00
   > 1221 account:at_unique_id []    212\x03789
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to