I am trying to concatenate string , int , array<string> , array<array<string>> and
|-- components: array (nullable = true)
| |-- element: struct (containsNull = true)
but trying with concat_ws is throwing an below error : array<array> type. argument 28 requires (array or string) type
it seems concat_ws() does not work over complex data types . Is there alternative of concat_ws() to achieve above requirement. also this should work dynamically that means column name should not be hardcoded and it should work for any column .
I tried to combine the whole row into an array and then into a json. After that md5 works.