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

feat: break stream by max bytes param #3435

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SaintBacchus
Copy link
Collaborator

try to fix #3393

@github-actions github-actions bot added the enhancement New feature or request label Feb 7, 2025
}

if num_rows_in_current_file >= params.max_rows_per_file as u32
|| writer.as_mut().unwrap().tell().await? >= params.max_bytes_per_file as u64
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This tell() always returns 0 since the writer has not called the finish()

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

Successfully merging this pull request may close these issues.

Is there a good way to make max_bytes_per_file used in Stable data storage version
1 participant