Skip to content

Commit 9cea1fb

Browse files
committed
update get_logical_plan signature
1 parent 25e42c8 commit 9cea1fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/schema.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use std::any::Any;
18+
use std::{any::Any, borrow::Cow};
1919

2020
use datafusion::arrow::datatypes::SchemaRef;
2121
use datafusion::logical_expr::{Expr, TableProviderFilterPushDown, TableSource};
@@ -189,7 +189,7 @@ impl TableSource for SqlTableSource {
189189
.collect()
190190
}
191191

192-
fn get_logical_plan(&self) -> Option<&datafusion::logical_expr::LogicalPlan> {
192+
fn get_logical_plan(&self) -> Option<Cow<datafusion::logical_expr::LogicalPlan>> {
193193
None
194194
}
195195
}

0 commit comments

Comments
 (0)