mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-03 05:40:40 +00:00
fix: revert changes on flatsource
This commit is contained in:
@@ -1163,7 +1163,7 @@ impl FlatSource {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn schema(&self) -> &SchemaRef {
|
||||
pub(crate) fn schema(&self) -> &SchemaRef {
|
||||
&self.schema
|
||||
}
|
||||
|
||||
@@ -1171,6 +1171,7 @@ impl FlatSource {
|
||||
self.inner.next_batch().await
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) fn take_iter(self) -> BoxedRecordBatchIterator {
|
||||
match self.inner {
|
||||
FlatSourceInner::Iter(iter) => iter,
|
||||
|
||||
Reference in New Issue
Block a user