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

chore: rework LayoutBatchStream for legibility #1245

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

danking
Copy link
Member

@danking danking commented Nov 7, 2024

  1. Expose dtype because all the callers want a dtype not a schema.
  2. Avoid vortex_expect by storing known valid values in the StreamingState.
  3. Use mem::take on the state to allow (2) to work.

1. Expose `dtype` because all the callers want a dtype not a schema.
2. Avoid `vortex_expect` by storing known valid values in the StreamingState.
3. Use `mem::take` on the state to allow (2) to work.
@danking danking marked this pull request as ready for review November 7, 2024 18:49
Copy link
Member

@robert3005 robert3005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is more decoupled from the mess I've created.

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.

2 participants