Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KX Dashboards rank error with segmented TP pubsub #539

Open
peterspiers opened this issue Nov 18, 2022 · 0 comments
Open

KX Dashboards rank error with segmented TP pubsub #539

peterspiers opened this issue Nov 18, 2022 · 0 comments

Comments

@peterspiers
Copy link
Contributor

peterspiers commented Nov 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant