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

[Data products] Add support for incrementally building an array record #405

Open
bocchino opened this issue Apr 12, 2024 · 0 comments
Open
Assignees
Labels
code generation Issues related to code generation f prime integration Issues related to integration with F Prime

Comments

@bocchino
Copy link
Collaborator

bocchino commented Apr 12, 2024

Currently, to construct an array record, you have to pass in an array of records. This is inconvenient in some cases.

For each array record R, we should add functions to start R, to add an element to R, and to finish R. We will need a state machine so that, for example, attempting to serialize a different kind of record while in the "adding elements to R" state causes an error. Starting a record R should fail if there is not enough room to hold the metadata for R. Adding an element should fail if there is not enough room to hold the element. If a container is sent in the "adding elements to R" state, then R should be implicitly finished before sending.

@bocchino bocchino added the code generation Issues related to code generation label Apr 12, 2024
@bocchino bocchino added this to the v2.1.0 milestone Apr 12, 2024
@bocchino bocchino self-assigned this Apr 12, 2024
@bocchino bocchino added this to To do in Data Products via automation Apr 12, 2024
@bocchino bocchino added the f prime integration Issues related to integration with F Prime label Apr 25, 2024
@bocchino bocchino removed this from the v2.1.0 milestone Jun 6, 2024
@bocchino bocchino removed this from To do in Data Products Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code generation Issues related to code generation f prime integration Issues related to integration with F Prime
Projects
None yet
Development

No branches or pull requests

1 participant