[
https://issues.apache.org/jira/browse/DRILL-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011697#comment-14011697
]
Jacques Nadeau commented on DRILL-847:
--------------------------------------
Fixed in 602f817
> Merging Receiver requires to canonicalize schemas of input batches
> -------------------------------------------------------------------
>
> Key: DRILL-847
> URL: https://issues.apache.org/jira/browse/DRILL-847
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Jinfeng Ni
> Assignee: Jinfeng Ni
> Attachments: DRILL-847.1.patch
>
>
> The Merge Receivers assumes all the incoming batches have the same schemas.
> If the incoming batches happen to have different schemas, the run-time
> generated code for merge receiver would not be able to handle the different
> schemas, and could throw ClassCast Exception.
> To fix it, we need canonicalize the schemas of incoming batches for merge
> receiver. If the schemas are still different after this step, Merge Receiver
> would throw exception.
--
This message was sent by Atlassian JIRA
(v6.2#6252)