I have a nested array which looks like
a = [[1,2],[2,3]]
i have a streaming dataframe which looks like
|system |level|
+----------+-----+
|Test1 |1 |
|Test2 |3 |
I want to include the array into third column as a nested array.
|system |level| Data |
+----------+-----+------+
|Test1 |1 |[[1,2],[2,3]]
I tried with column and array function. But i am not sure how to use nested array.
Any help would be appreciated.