Attached is my Test.grf
When i join Companies with Investments in an exthashjoin, i get multiple investors for a given company like this
“company” : {
“investor” : “/financial-organization/kleiner-perkins-caufield-byers”,
“permalink” : “/company/google”
},
“company” : {
“investor” : “/person/andy-bechtolsheim”,
“permalink” : “/company/google”
},
“company” : {
“investor” : “/financial-organization/sequoia-capital”,
“permalink” : “/company/google”
}
I want to make it look like the following using a denormalizer :
{
“company” : {
“permalink” : “/company/google”,
“investor” : [ “/financial-organization/kleiner-perkins-caufield-byers”,
“/person/andy-bechtolsheim”,
“/financial-organization/sequoia-capital”
]
}
What am i doing wrong - please help !!