[go: nahoru, domu]

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: no longer load full table into ram in write #2265

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clippy, your so right
  • Loading branch information
aersam committed Mar 13, 2024
commit 83d398f82087b7c56db9b1fc7d35530617e3cdd7
4 changes: 2 additions & 2 deletions python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1389,13 +1389,13 @@ struct GilIterator {
reader: ArrowArrayStreamReader,
}

impl<'a> Iterator for GilIterator {
impl Iterator for GilIterator {
type Item = RecordBatch;

fn next(&mut self) -> Option<Self::Item> {
let reader = &mut self.reader;

Python::with_gil(|_| reader.next().map_or(None, |v| Some(v.unwrap())))
Python::with_gil(|_| reader.next().map(|v| v.unwrap()))
}
}

Expand Down
Loading