[
https://issues.apache.org/jira/browse/FLINK-15593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015654#comment-17015654
]
Jark Wu commented on FLINK-15593:
---------------------------------
Is it possible to throw exception by framework if Hive UDAF is used 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)