Jason Dere created HIVE-11892:
---------------------------------
Summary: UDTF run in local fetch task does not return rows
forwarded during GenericUDTF.close()
Key: HIVE-11892
URL: https://issues.apache.org/jira/browse/HIVE-11892
Project: Hive
Issue Type: Bug
Components: UDF
Reporter: Jason Dere
Using the example UDTF GenericUDTFCount2, which is part of hive-contrib:
{noformat}
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;
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)