peterxcli commented on issue #23376:
URL: https://github.com/apache/datafusion/issues/23376#issuecomment-5025773266

   > I think starting with HashJoinExec would be good 
   
   @gene-bordegaray @jayshrivastava could I help with this? My current high 
level understanding is that `CASE range` is not supported yet, for example, 
hash join's `SharedBuildAccumulator.build_filter` only support `CASE hash` for 
now.
   
   1. So what we have to do in first step is make the `SharedBuildAccumulator` 
able to build sth like:
   ```sql
   CASE range_partition_id(key)
       WHEN 0 THEN F0(key)
       WHEN 1 THEN F1(key)
       WHEN 2 THEN F2(key)
   END
   ```
   which should the "global dynamic filter" you mentioned in issue description.
   I guess this would be simpler than building `CASE hash` as we can just reuse 
the existing split point as partition function.
   
   2. `HashJoinExec`
       - Dont reject range partition


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