zhztheplayer opened a new pull request, #13254:
URL: https://github.com/apache/gluten/pull/13254

   This PR pushes grouping-only aggregation below both sides of an inner 
equi-join to reduce duplicate rows entering the join.
   
   For example:
   
   ```
   SELECT DISTINCT l.name, r.category
   FROM l JOIN r ON l.id = r.id;
   
   Before:
   Distinct [name, category]
     Join [l.id = r.id]
       l
       r
   
   After:
   Distinct [name, category]
     Join [l.id = r.id]
       Distinct [id, name]
         l
       Distinct [id, category]
         r
   ```
   The lower aggregates retain the join keys, and the top DISTINCT preserves 
the original result.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to