[ 
https://issues.apache.org/jira/browse/SPARK-26390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723773#comment-16723773
 ] 

ASF GitHub Bot commented on SPARK-26390:
----------------------------------------

cloud-fan opened a new pull request #23343: [SPARK-26390][SQL] ColumnPruning 
rule should only do column pruning
URL: https://github.com/apache/spark/pull/23343
 
 
   ## What changes were proposed in this pull request?
   
   This is a small clean up.
   
   By design catalyst rules should be orthogonal: each rule should have its own 
responsibility. However, the `ColumnPruning` rule does not only do column 
pruning, but also remove no-op project and window.
   
   This PR updates the `RemoveRedundantProject` rule to remove no-op window as 
well, and clean up the `ColumnPruning` rule to only do column pruning.
   
   ## How was this patch tested?
   
   existing tests
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> ColumnPruning rule should only do column pruning
> ------------------------------------------------
>
>                 Key: SPARK-26390
>                 URL: https://issues.apache.org/jira/browse/SPARK-26390
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Wenchen Fan
>            Assignee: Wenchen Fan
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to