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 0EA9311AF2 for ; Mon, 16 Jun 2014 21:34:32 +0000 (UTC) Received: (qmail 28543 invoked by uid 500); 16 Jun 2014 21:34:32 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 28487 invoked by uid 500); 16 Jun 2014 21:34:31 -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 28451 invoked by uid 99); 16 Jun 2014 21:34:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 21:34:31 +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; Mon, 16 Jun 2014 21:34:33 +0000 Received: (qmail 27556 invoked by uid 99); 16 Jun 2014 21:34:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2014 21:34:08 +0000 Date: Mon, 16 Jun 2014 21:34:08 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-957) Avro partitioned table fails with AvroTypeException 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-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033019#comment-14033019 ] Jacques Nadeau commented on DRILL-957: -------------------------------------- merged on or before f86639c > Avro partitioned table fails with AvroTypeException > --------------------------------------------------- > > Key: DRILL-957 > URL: https://issues.apache.org/jira/browse/DRILL-957 > Project: Apache Drill > Issue Type: Bug > Components: Storage - Hive > Reporter: Ramana Inukonda Nagaraj > Assignee: DrillCommitter > Attachments: DRILL-957-1.patch, avro_partitioned.q, episodes.avro > > > Have a hive avro table which is partitioned on integer. > Querying the table in hive works fine. Fails in drill with error: > SELECT * FROM episodes_partitioned WHERE doctor_pt > 6 ORDER BY air_date > Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "1f450589-2e66-422e-95f3-ff8f3b862bc0" > endpoint { > address: "drillats2.qa.lab" > user_port: 31010 > control_port: 31011 > data_port: 31012 > } > error_type: 0 > message: "Failure while running fragment. < AvroTypeException:[ Found { > "type" : "record", > "name" : "episodes", > "namespace" : "testing.hive.avro.serde", > "fields" : [ { > "name" : "title", > "type" : "string", > "doc" : "episode title" > }, { > "name" : "air_date", > "type" : "string", > "doc" : "initial date" > }, { > "name" : "doctor", > "type" : "int", > "doc" : "main actor playing the Doctor in episode" > } ] > }, expecting { > "type" : "record", > "name" : "CannotDetermineSchemaSentinel", > "namespace" : "org.apache.hadoop.hive", > "fields" : [ { > "name" : "ERROR_ERROR_ERROR_ERROR_ERROR_ERROR_ERROR", > "type" : "string" > }, { > "name" : "Cannot_determine_schema", > "type" : "string" > }, { > "name" : "check", > "type" : "string" > }, { > "name" : "schema", > "type" : "string" > }, { > "name" : "url", > "type" : "string" > }, { > "name" : "and", > "type" : "string" > }, { > "name" : "literal", > "type" : "string" > } ] > } ]" > ] -- This message was sent by Atlassian JIRA (v6.2#6252)