Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/13494
  
    Hi @lianhuiwang , thanks for working on it, looks pretty good! Some 
suggestions about the strategy:
    
    1. instead of handling `Distinct`, I think we can expand the optimizable 
cases in `Aggregate`, to also support `SELECT col FROM tbl GROUP BY col`.
    2. instead of traversing the plan tree and collect project list and filter 
conditions, I think we can replace the table relation with `LogicalRDD` of 
partition values and keep the `Filter` and `Project` operators.


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