From eeab15f5bb71046ff3f352cec7eb54da89d54562 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Thu, 26 Dec 2024 18:30:08 +0800 Subject: [PATCH] z --- driver/src/rest_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/src/rest_api.rs b/driver/src/rest_api.rs index abf169b1..deb3afaf 100644 --- a/driver/src/rest_api.rs +++ b/driver/src/rest_api.rs @@ -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))?;