-
Notifications
You must be signed in to change notification settings - Fork 82
Description
When connecting a streaming dashboard to a publisher running the segmented versions of pubsub functions, components will return a rank error when attempting to make a subscription with a sym filter applied. The same issue does not appear when subscribing to a vanilla publisher.
When a subscription is made from Dashboards front end to a streaming table for all syms, streaming executes successfully.
When a subscription attempt is made with a filter applied, e.g. a sym filter selected through a viewstate, a rank error is shown on the front end and no data is streamed.
I traced the issue to the .stpps.subfiltered function in TorQ/code/common/pubsub.q, and changing line 43 to
val:![11 99h;(selfiltered;addfiltered)][abs type y] . (x;y);
seems to fix the problem as the subscriber may pass in a single sym rather than a sym list.
Appreciate this may not be the best fix for it, but any advice/insight would be appreciated,
Thanks
n.b. currently running KX Dashboards v1.8