Hello,
I am working with a nested group-by accumulator in a query, and I need to flatten it. Specifically, I want to extract each entry in the nested group-by accumulators into separate columns, ensuring the entries are correctly mapped.
For example:
Groupby Accum<
k1:
k2:
k3: (i.e., another group-by accumulator)<
m1:
m2:
m3>>
Desired output:
row 1 k1 k2 m1
row 2 k1 k2 m2
row 3 k1 k2 m3
It is important to note that this output cannot be generated directly in TigerGraph due to its large size. We are receiving the response in JSON format via the REST API.
Is there any way to achieve the desired output response using GSQL, given these constraints?