[ 
https://issues.apache.org/jira/browse/FLINK-15593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015671#comment-17015671
 ] 

Jingsong Lee commented on FLINK-15593:
--------------------------------------

Hi [~phoenixjiangnan], I think you misunderstood FLINK-15592 , batch also not 
work. So I think there is no reason to not use hive aggregate function in 
streaming mode.

> add doc to remind users not using Hive aggregate functions in streaming mode
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-15593
>                 URL: https://issues.apache.org/jira/browse/FLINK-15593
>             Project: Flink
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Note that Hive scalar and table functions implementing UDF, GenericUDF, and 
> GenericUDTF interfaces should be good to run in both 
> streaming and batch mode in Flink.
> Due to that Hive functions are all built for batch processing, aggregate 
> functions in Hive that implement UDAF and GenericUDAFResolver2 
> interfaces may have unpredictable behaviors when used in streaming mode in 
> Flink. We advice users to only use Hive aggregate functions
> interfaces in batch mode.



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

Reply via email to