Support Questions

Find answers, ask questions, and share your expertise

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.