guixiaowen opened a new issue, #1392:
URL: https://github.com/apache/auron/issues/1392

   **Description** 
   AuronColumnarOverrides preColumnarTransitions may introduce redundant or 
unintended SparkPlan transformations before columnar execution, causing extra 
overhead and complicating the physical plan. This JIRA proposes to optimize it 
by restricting the allowed SparkPlan transformation types, ensuring only 
necessary conversions occur.
   
   Optimize the transformation logic by checking whether a SparkPlan is a 
LeafExecNode. The reasons are:
   
   1. LeafExecNode is a subclass of SparkPlan designed to have no child nodes. 
Some common implementations, such as ShowCreateTableExec, do not require any 
transformations. By checking whether a SparkPlan is a LeafExecNode, unnecessary 
transformations can be avoided, thus optimizing the conversion process.
   
   2. In rule implementations, withNewChildren is used recursively on SparkPlan 
nodes. Since these SparkPlan nodes have no children, no transformations will 
occur in the implementation, making such recursion unnecessary.


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

Reply via email to