zhuliquan commented on PR #12293:
URL: https://github.com/apache/datafusion/pull/12293#issuecomment-2326456560

   > Why do we need `extension`? Is there any example that shows we need this? 
I would be nice if there is end-to-end query in slt file
   
   I think building a logical plan from SQL is a high-level API behavior 
exposed to user, and we also need to build a logical plan from a low-level API 
like building blocks, just like Flink I can build a stream through Flink-SQL, 
and we can also build a flow through basic operators. Because SQL is completely 
limiting to how LogicalPlan is built. This allows us to build logicalPlans not 
only from SQL, but also from user-defined DSL. If there are features that are 
not sufficient with the existing LogicalPlan, we need to extend it. Meanwhile 
we need a `extension` func to build it


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