Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16C4310121 for ; Wed, 28 May 2014 19:55:27 +0000 (UTC) Received: (qmail 92613 invoked by uid 500); 28 May 2014 19:55:27 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 92588 invoked by uid 500); 28 May 2014 19:55:27 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 92579 invoked by uid 99); 28 May 2014 19:55:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 19:55:26 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 May 2014 19:55:27 +0000 Received: (qmail 90440 invoked by uid 99); 28 May 2014 19:55:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 19:55:02 +0000 Date: Wed, 28 May 2014 19:55:02 +0000 (UTC) From: "Jinfeng Ni (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-847) Merging Receiver requires to canonicalize schemas of input batches MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni updated DRILL-847: ----------------------------- Attachment: DRILL-847.1.patch > 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)