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

Fixes: eod storage in hdb of tables not having sym column fails with length error #59

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

strikeout
Copy link

rdb expects the column 'sym to be available in every table (this is also a constraint of the tickHF so usually is not a problem).

When using the dist component instead of tickHF to publish to the rdb, tables without 'sym column break the eod write to the hdb with a 'length error.

The .stor library was prepared for that case and looks for a column 'attrCol for customisation of the column the table gets partitioned by.
The rdb does not provide that column by default, so every table automatically defaults back to 'sym.

This PR fixes that issue and just enables you to pass the definition of the table, the hdb should partition by on eod in dataflow.cfg

[table:Accounts]
    model = accountID(INT), name(STRING), email(STRING), date(TIMESTAMP)
    template = something
    [[core.rdb]]
      attrCol = date

attrCol is referenced in .stor library but not hooked up via QSD config
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

Successfully merging this pull request may close these issues.

1 participant