[
https://issues.apache.org/jira/browse/HIVE-17976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16249135#comment-16249135
]
Rui Li commented on HIVE-17976:
-------------------------------
[~xuefuz], the empty row is generated in operator.close(). RS relies on output
collector to collect the row. If we don't set output collector, the row is
simply discarded by RS.
> HoS: don't set output collector if there's no data to process
> -------------------------------------------------------------
>
> Key: HIVE-17976
> URL: https://issues.apache.org/jira/browse/HIVE-17976
> Project: Hive
> Issue Type: Bug
> Components: Spark
> Reporter: Rui Li
> Assignee: Rui Li
> Priority: Minor
> Attachments: HIVE-17976.1.patch, HIVE-17976.2.patch
>
>
> MR doesn't set an output collector if no row is processed, i.e.
> {{ExecMapper::map}} is never called. Let's investigate whether Spark should
> do the same.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)