neilconway commented on code in PR #21240:
URL: https://github.com/apache/datafusion/pull/21240#discussion_r3080086716


##########
datafusion/expr/src/execution_props.rs:
##########
@@ -42,6 +55,12 @@ pub struct ExecutionProps {
     pub config_options: Option<Arc<ConfigOptions>>,
     /// Providers for scalar variables
     pub var_providers: Option<HashMap<VarType, Arc<dyn VarProvider + Send + 
Sync>>>,
+    /// Maps each logical `Subquery` to its index in `subquery_results`.
+    /// Populated by the physical planner before calling 
`create_physical_expr`.
+    pub subquery_indexes: HashMap<crate::logical_plan::Subquery, usize>,

Review Comment:
   I took a brief look at doing this and it seems doable but not trivial; I 
filed https://github.com/apache/datafusion/issues/21619 to track this, but I 
think it's out of the scope of this PR.



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