I've a column with a string of numerical values in my dataset. I would like to split it and calculate the mean of it using Sqark SQL
"[0.0895298943, 0.0794019, 0.07463462, 0.0538841, 0.0266057681, 0.03875145, 0.0308785159]"
I know how to split it, but I would like to change the values to numbers (float), and calculate the average of this sequence.
SELECT split(FFTData,',') as VarN from dataset
Any help will be appreciated.