Apache Drill
  1. Apache Drill
  2. DRILL-847

Merging Receiver requires to canonicalize schemas of input batches

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Hide
        Jacques Nadeau added a comment -

        Fixed in 602f817

        Show
        Jacques Nadeau added a comment - Fixed in 602f817

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development