jaylmiller commented on code in PR #6096:
URL: https://github.com/apache/arrow-datafusion/pull/6096#discussion_r1174464771
##########
datafusion/common/src/table_reference.rs:
##########
@@ -450,3 +450,39 @@ mod tests {
);
}
}
+
+#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
+pub enum SchemaReference<'a> {
+ Bare {
+ schema: Cow<'a, str>,
+ },
+ Full {
+ schema: Cow<'a, str>,
+ catalog: Cow<'a, str>,
+ },
+}
+
+pub type OwnedSchemaReference = SchemaReference<'static>;
Review Comment:
Good thinking!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]