Quanlong Huang created IMPALA-9570:
--------------------------------------

             Summary: Document about memory management for writing UDAFs
                 Key: IMPALA-9570
                 URL: https://issues.apache.org/jira/browse/IMPALA-9570
             Project: IMPALA
          Issue Type: Documentation
            Reporter: Quanlong Huang
            Assignee: Kris Hahn
         Attachments: apache doc.png, cloudera doc.png

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]

!apache doc.png|width=326,height=109!

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

!cloudera doc.png|width=725,height=226!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to