Skip to content

Apache DataFusion SQL Query Engine

chore: make tablefunction clonable (#17457)

Ning Sun1d9e13845021
diff --git a/datafusion/catalog/src/table.rs b/datafusion/catalog/src/table.rs
index ecfe63fa34..ac2e1884ba 100644
--- a/datafusion/catalog/src/table.rs
+++ b/datafusion/catalog/src/table.rs
@@ -320,7 +320,7 @@ pub trait TableFunctionImpl: Debug + Sync + Send {
}
/// A table that uses a function to generate data
-#[derive(Debug)]
+#[derive(Clone, Debug)]
pub struct TableFunction {
/// Name of the table function
name: String,