Hi KDB Gurus,
I have the functional form of this query:
select from rows where 1=(count;i) fby (sym;market;id;price;size;eventType)
as:
?[rows;enlist(=;1;(fby;(enlist;#:;`i);(+:;(!;enlist`sym`market`id`price`size`eventType;(enlist;`sym;`market;`id;`price;`size;`eventType)))));0b;()]
I have my symbol list of columns I want to group on, sym
marketid
pricesize
eventType, stored in a local variable gCols. I am not sure how to run the functional form using my local variable. Help is much appreciated. Thanks.