

cathan
Forum Replies Created
-
How about:
sest:{[i] stanza:raze ,:[;” “]{x[5 0 4 1 3 2]}[5;i]; envoi:” “sv’ (i[0 1]; i[2 3]; i[4 5]); stanza,envoi}
-
Hmm, perhaps this is more what you had in mind…
sest:{(raze @[;5 0 4 1 3 2][x],:” “),” “sv’ 2 cut x}
Edit: Whoops, meant to reply to above.
-
From https://code.kx.com/q4m3/14_Introduction_to_Kdb%2B/#1423-splayed-tables-with-nested-columns :
When you splay a table with compound columns, q creates not one but two files for each compound column. … If you examine these files you will discover that the sharp file contains the binary data of the original list in flattened form and the non-sharp file is a serialized q list of integers representing the lengths of each sublist of the original list.
In this case, I think your column is doubly compounded which creates both a ot# and ot## file. As the other answerer says, you should be able to use get on the “non-sharped” file just fine.