Details
-
Documentation
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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