I have a table that stores logs into one row. I have unnested it and one example row looks like this:
TestObserver(2) TestFragment(1) TestView(1) TestNotifications(2) TestActivity(1) and so on.
I would like to conveert TestObserver, TestFragment and so on into columns and its values (2), (1), etc into its rows. There are plenty of these Test logs, it is not a fixated number of them. There is no delimiter between them. I would also like to SUM each TestObserver, TestFragment and so on values found in each row.
How can I achieve this?
I tried trimming and splitting but the result is not what it is expected.