Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/1161#issuecomment-162011423
  
    @ChengXiangLi Sorry for letting you wait, I have not forgotten about this 
pull request.
    
    There are two things in your comment:
    
      1. Exposing Managed Memory to UDFs (this pull request), which is much 
more convenient than going through the implementation of a deeply integrated 
operator.
    
      2. Efficiency for APIs like the Table API. The Table API works on managed 
memory already, since it sits on top of Flinks join/sort/etc. What you are 
hinting at is to have a lower level interface where functions gets the memory 
segments, rather than the row objects, and directly works on the memory 
segments. That has been a long which of mine as well, but that involves having 
a separate type of functions that support working with memory segments. Plus 
more, to handle records that are too large to fit into individual segments.
    
    I am still onto point (1). I aimed a bit too high with how I wanted to 
abstract that, but will continue.
    
    I would love to see point (2) at some point. If you are eager in driving 
point (2), I'd be very happy. We should probably have a chat and get this 
designed, as it involves quite a few things (exposing other abstractions, 
spanning records, etc). 
    



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

Reply via email to