提交 5ea40c9d 编写于 作者: S slzhou

save for poweroff

上级 ed597e6e
......@@ -99,13 +99,16 @@ typedef struct SUdfInterBuf {
// input: block, initFirst
// output: interbuf
int32_t callUdfAggProcess(SUdfDataBlock block, SUdfInterBuf *interBuf, bool initFirst);
int32_t callUdfAggProcess(SUdfDataBlock *block, SUdfInterBuf *interBuf, bool initFirst);
// input: interBuf
// output: resultData
int32_t callUdfAggFinalize(SUdfInterBuf interBuf, SUdfColumnData* resultData);
int32_t callUdfAggFinalize(SUdfInterBuf *interBuf, SUdfColumnData *resultData);
// input: interbuf1, interbuf2
// output: resultBuf
int32_t callUdfAggMerge(SUdfInterBuf *interBuf1, SUdfInterBuf *interBuf2, SUdfInterBuf *resultBuf);
// input: block
// output: resultData
int32_t callUdfScalaProcess(SUdfDataBlock block, SUdfColumnData* resultData);
int32_t callUdfScalaProcess(SUdfDataBlock *block, SUdfColumnData *resultData);
/**
* tearn down udf
......
......@@ -31,6 +31,7 @@ enum {
enum {
TSDB_UDF_CALL_AGG_PROC = 0,
TSDB_UDF_CALL_AGG_MERGE,
TSDb_UDF_CALL_AGG_FIN,
TSDB_UDF_CALL_SCALA_PROC,
};
......
......@@ -8,6 +8,7 @@
#define malloc malloc
#undef free
#define free free
int32_t udf1_setup() {
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册