CuteChuanChuan commented on issue #3165:
URL: 
https://github.com/apache/datafusion-comet/issues/3165#issuecomment-3906750613

   I have a question about implementing map_filter.
   
   Spark's `map_filter` requires lambda syntax:
   ```sql
   SELECT map_filter(map(1, 0, 2, 2), (k, v) -> k > v)
   
   After some rough browsing, I found that lambda support doesn't exist yet.
   
   Questions:
   
   1. Is there an existing plan or design for lambda/higher-order function 
support?
   2. What's the recommended approach for map_filter?
     - Option A: Full lambda infrastructure (benefits transform, array_filter, 
aggregate too)
     - Option B: Special-case map_filter without general lambda support
     - Option C: Different approach?
   
   I'm happy to contribute to this. Just want to align on the approach first.


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