Jinfeng Ni created DRILL-847:
--------------------------------

             Summary: 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


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)

Reply via email to