Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Dec 26, 2024
1 parent e06e4af commit eeab15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/src/rest_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl Stream for RestAPIRows {
return Poll::Ready(Some(Ok(RowWithStats::Stats(ss))));
}
// skip to fetch next page if there is only one row left
// therefore we could garantee the /final called before the last row
// therefore we could guarantee the /final called before the last row
if self.data.len() > 1 {
if let Some(row) = self.data.pop_front() {
let row = Row::try_from((self.schema.clone(), row))?;
Expand Down

0 comments on commit eeab15f

Please sign in to comment.