Github user dreamquster commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5358#discussion_r28043649
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
 ---
    @@ -171,8 +171,26 @@ object ColumnPruning extends Rule[LogicalPlan] {
     
           Project(substitutedProjection, child)
     
    +    case gen@Generate(_: Explode, _, _, _, c) =>
    --- End diff --
    
    SPARK-6489:this issue means it pruned columns when explode lateral view 
clause.
    Does it need to extend to all generate clause? I want to mark generate 
node's parent reference in analysis phase. Is there another gracefully method 
to get  its parent references?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to