Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9570

Document about memory management for writing UDAFs

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Docs
    • None
    • ghx-label-3

    Description

      In the current document, we have few words about memory management for writing UDAFs: https://impala.apache.org/docs/build/html/topics/impala_udf.html

      The only related sentense is "A serialize function that ... frees any memory allocated during the init, update, and merge phases."

      We can add more for clarifying it or add this link for further reading: https://github.com/apache/impala/blob/2f53783b14ddf215a4c96bc52a511d3a83896128/be/src/udf/udf.h#L358-L365

      BTW, the links of uda-sample.h and uda-sample.cc are not shown:
      http://impala.apache.org/docs/build/html/topics/impala_udf.html#uda_functions

      They are normal in Cloudera's doc: 
      https://docs.cloudera.com/documentation/enterprise/latest/topics/impala_udf.html#uda_functions

      Attachments

        1. apache doc.png
          30 kB
          Quanlong Huang
        2. cloudera doc.png
          137 kB
          Quanlong Huang
        3. image-2020-04-24-14-11-18-449.png
          69 kB
          shajini thayasingh

        Activity

          People

            shajini shajini thayasingh
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: