jizezhang commented on issue #17297:
URL: https://github.com/apache/datafusion/issues/17297#issuecomment-3515180516

   Thank you. Actually I would like to ask another question:
   >cache_producer would be a method accepting DataFrame and returning 
DataFrame, probably a logical plan extension.
   
   By "logical plan extension", are you referring to 
https://github.com/apache/datafusion/blob/552dbe4f19f24dcd43132c1528f32268f1d7b876/datafusion/expr/src/logical_plan/plan.rs#L3186-L3189
   
   Is the idea that we create some `UserDefinedLogicalNode` that takes current 
dataframe's logical plan (`self.plan`) as inputs, and then return a dataframe 
with a new `LogicalPlan::Extension` that wraps the node? or how does the 
extension relate to `cache_producer` being a method that accepts and returns a 
dataframe? Could you elaborate a bit more? 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