Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/13494
  
    hi @lianhuiwang , thanks for working on it!
    
    The overall idea LGTM, we should elimiante unnecessary file scan if only 
partition columns are read. However, the current implementation looks not 
corrected, we should also consider the number of rows. I also took a look at 
the hive path, it only optimize partition columns used as aggregation keys, 
where the number of duplicated rows doesn't matter.
    
    I think we should either narrow down the scope of this PR and focus on 
aggregation queries, or spent some more time for a more general design.
    
    cc @yhuai @liancheng 


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