goldmedal commented on code in PR #13018:
URL: https://github.com/apache/datafusion/pull/13018#discussion_r1807743369


##########
datafusion/common/src/dfschema.rs:
##########
@@ -478,6 +479,14 @@ impl DFSchema {
             .collect()
     }
 
+    pub fn column_reference(&self) -> Vec<ColumnReference> {
+        self.iter()
+            .map(|(qualifier, field)| {
+                ColumnReference::new(qualifier.cloned(), field.name().as_str())
+            })
+            .collect()

Review Comment:
   Indeed, nice idea. Thanks!



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to