Description
Using the example UDTF GenericUDTFCount2, which is part of hive-contrib:
create temporary function udtfCount2 as 'org.apache.hadoop.hive.contrib.udtf.example.GenericUDTFCount2'; set hive.fetch.task.conversion=minimal; -- Task created, correct output (2 rows) select udtfCount2() from src; set hive.fetch.task.conversion=more; -- Runs in local task, incorrect output (0 rows) select udtfCount2() from src;
Attachments
Attachments
Issue Links
- relates to
-
HIVE-13609 Fix UDTFs to allow local fetch task to fetch rows forwarded by GenericUDTF.close()
- Closed
-
HIVE-13586 Allow UDFs/UDTFs to indicate whether they can run with fetch task conversion
- Resolved