Skip to content

Commit

Permalink
Add Debug to TableReference and ResolvedTableReference (#3533)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove authored Sep 19, 2022
1 parent a6fbf24 commit f30fc4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/sql/src/table_reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 table
pub catalog: &'a str,
Expand All @@ -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 {
Expand Down

0 comments on commit f30fc4e

Please sign in to comment.