drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-957) Avro partitioned table fails with AvroTypeException
Date Mon, 16 Jun 2014 21:34:08 GMT

    [ 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)

Mime
View raw message