Skip to content

KX Dashboards rank error with segmented TP pubsub #539

Open

Description

@peterspiers

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions