You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ramana Inukonda Nagaraj (JIRA)" <ji...@apache.org> on 2014/06/11 22:42:01 UTC
[jira] [Updated] (DRILL-957) Avro partitioned table fails with
AvroTypeException
[ https://issues.apache.org/jira/browse/DRILL-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramana Inukonda Nagaraj updated DRILL-957:
------------------------------------------
Attachment: avro_partitioned.q
Hive script to create the hive table
> 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
> Attachments: 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:
> 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)