2016.08.22 03:58 AM
2016.08.22 04:18 AM
2016.08.22 04:20 AM
2016.08.22 08:47 AM
2016.08.22 12:11 PM
Correct, ssr has to be applied to each string (which is a list of lists).
To clarify - ssr is the slowest solution but the easiest to read and most succinct. If speed is a concern you should use the dot-indexing approach.
In my syntax below i deliberately projected the ssr function (left the first param blank) to force the column name to be parsed correctly. It could also have been written
select ts:ssr'[string ts;".";":"] from t1
Or
select ts:{ssr[x;".";":"]}each string ts from t1
Etc. Was just trying to shave some characters!
Terry
2016.08.23 10:12 AM
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.