Apache DataFusion SQL Query Engine
Add Debug to TableReference and ResolvedTableReference (#3533)
Andy Grovef30fc4eccc43
diff --git a/datafusion/sql/src/table_reference.rs b/datafusion/sql/src/table_reference.rsindex 44848eb991..27905163dc 100644--- a/datafusion/sql/src/table_reference.rs+++ b/datafusion/sql/src/table_reference.rs@@ -16,7 +16,7 @@// under the License.// / Represents a resolved path to a table of the form "catalog.schema.table"-#[derive(Clone, Copy)]+#[derive(Debug, Clone, Copy)]pub struct ResolvedTableReference<'a> {/// The catalog (aka database) containing the tablepub catalog: &'a str,@@ -27,7 +27,7 @@ pub struct ResolvedTableReference<'a> {}/// Represents a path to a table that may require further resolution-#[derive(Clone, Copy)]+#[derive(Debug, Clone, Copy)]pub enum TableReference<'a> {/// An unqualified table reference, e.g. "table"Bare {