Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

update a Hbase table using PIG

avatar
Rising Star

Hi,

I want to update a Hbase table using Pig, I have an empty column family and I want to add columns to it from a pig object.

I've done some researches but in vain ... Is this feature exists or not ?

Thanks

1 ACCEPTED SOLUTION

avatar
Super Guru

Have you read the documentation on HBaseStorage from the Apache Pig website?

http://pig.apache.org/docs/r0.15.0/func.html#HBaseStorage

You should be able to just not specify the column family the the columns definition (e.g. a colon with no text before it). If this doesn't work, the parsing logic probably needs to be updated.

View solution in original post

1 REPLY 1

avatar
Super Guru

Have you read the documentation on HBaseStorage from the Apache Pig website?

http://pig.apache.org/docs/r0.15.0/func.html#HBaseStorage

You should be able to just not specify the column family the the columns definition (e.g. a colon with no text before it). If this doesn't work, the parsing logic probably needs to be updated.