Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-847

Merging Receiver requires to canonicalize schemas of input batches

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jni Jinfeng Ni
                Reporter:
                jni Jinfeng Ni
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: