Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nested field as Hbase row identifier

avatar
New Contributor

I have a JSON document that I want to index into Hbase.

 

{
    "field1" : {
        "nestedfield" : "value1"
    }
    "field2" : "value2"
}

 

In this case I want `nestedfield` to be the one used as a row identifier field, but I can't figure out how to specify this to the `PutHBaseJson` processor. I have tried multiple ways :

- field1/nestedfiled

- field1['nestedfiled']

- field1.nestedfield

- $.filed1.nestedfiled

None of them are working, the processor is saying that "the Row ID was null".

Using `field2` for this purpose is working fwiw.

1 ACCEPTED SOLUTION

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
1 REPLY 1

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login