alamb commented on code in PR #26317:
URL: https://github.com/apache/datafusion/pull/26317#discussion_r4645733368


##########
datafusion/sql/src/select.rs:
##########
@@ -1114,9 +1129,16 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
     ) -> Result<Vec<SelectExpr>> {
         let mut prepared_select_exprs = Vec::with_capacity(projection.len());
         let mut error_builder = DataFusionErrorBuilder::new();
+        let mut using_columns = LazyUsingColumns::default();

Review Comment:
   No need for a follow up -- what I was thinking was that if there are other 
calls like this that can be cached it would be valuable to consolidate / make a 
pattern that could be easily followed rather than just a bunch of one offs
   
   Thanks 



##########
datafusion/sql/src/select.rs:
##########
@@ -1114,9 +1129,16 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
     ) -> Result<Vec<SelectExpr>> {
         let mut prepared_select_exprs = Vec::with_capacity(projection.len());
         let mut error_builder = DataFusionErrorBuilder::new();
+        let mut using_columns = LazyUsingColumns::default();

Review Comment:
   No need for a follow up -- what I was thinking was that if there are other 
calls like this that can be cached it would be valuable to consolidate / make a 
pattern that could be easily followed rather than just a bunch of one offs
   
   Thanks for the response



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