We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b4c8d commit aa0ad1cCopy full SHA for aa0ad1c
driver/src/rest_api.rs
@@ -266,6 +266,9 @@ impl Stream for RestAPIRows {
266
Some(ref mut next_page) => match Pin::new(next_page).poll(cx) {
267
Poll::Ready(Ok(resp)) => {
268
self.data = resp.data.into();
269
+ if self.schema.fields().is_empty() {
270
+ self.schema = Arc::new(resp.schema.try_into()?);
271
+ }
272
self.query_id = resp.id;
273
self.next_uri = resp.next_uri;
274
self.next_page = None;
0 commit comments