wangqiuhao0912 opened a new pull request #7459:
URL: https://github.com/apache/incubator-doris/pull/7459


   Create function SQL as follows:
   
   drop FUNCTION udaf_iot_first(BIGINT,DOUBLE);
   CREATE AGGREGATE FUNCTION udaf_iot_first(BIGINT,DOUBLE) RETURNS DOUBLE
   PROPERTIES (
   
"init_fn"="_ZN9doris_udf12IotFunctions18init_iot_functionsEPNS_15FunctionContextEPNS_9StringValE",
   
"update_fn"="_ZN9doris_udf12IotFunctions16iot_first_updateEPNS_15FunctionContextERKNS_9BigIntValERKNS_9DoubleValEPNS_9StringValE",
   
"merge_fn"="_ZN9doris_udf12IotFunctions15iot_first_mergeEPNS_15FunctionContextERKNS_9StringValEPS3_",
   
"serialize_fn"="_ZN9doris_udf12IotFunctions9serializeEPNS_15FunctionContextERKNS_9StringValE",
   
"finalize_fn"="_ZN9doris_udf12IotFunctions8finalizeEPNS_15FunctionContextERKNS_9StringValE",
   "object_file"="http://IP/../libudaf_iot_algorithm.so"; );


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to