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

Merging Receiver requires to canonicalize schemas of input batches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • 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

        1. DRILL-847.1.patch
          6 kB
          Jinfeng Ni

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: