Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
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.
It will be better to throw exception when users trying to use Hive aggregate functions in streaming mode. Seems need to distinguish execution mode in FunctionCatalogOperatorTable, which is not achievable yet.