Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/18968
  
    @cloud-fan OK. I think I got your point. Your proposal is to have 
`ListQuery.childOutputs` which keeps the original output of subquery. Even we 
extend the project list of subquery, `childOutputs` is unchanged.
    
    If that is correct, my only concern is if we extend the project list by 
adding attributes which are not in condition, we aren't able to find it out.
    
    This is basically a safe guard for the possibility we mess the query plan 
in optimization, if you think it is not necessary, I think your proposal is a 
good choice.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to