[
https://issues.apache.org/jira/browse/DRILL-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venki Korukanti updated DRILL-745:
----------------------------------
Attachment: DRILL-745-2.patch
v2 patch. Addressed review comments.
> Drill fails to read the schema of avro tables from hive when the schema is in
> a separate file
> ---------------------------------------------------------------------------------------------
>
> Key: DRILL-745
> URL: https://issues.apache.org/jira/browse/DRILL-745
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Hive
> Reporter: Rahul Challapalli
> Assignee: Venki Korukanti
> Fix For: 1.1.0
>
> Attachments: DRILL-745-1.patch, DRILL-745-2.patch
>
>
> Follow the below steps to reproduce the issue :
> 1. hadoop fs -copyFromLocal doctors.avsc /drill/
> 2. run the hive queries from doctors.ddl
> 3. From drill, the describe command fails to get the schema for
> doctors_fileschema table. It gives the below information :
> 0: jdbc:drill:schema=dfs> describe doctors_fileschema;
> +-------------+------------+-------------+
> | COLUMN_NAME | DATA_TYPE | IS_NULLABLE |
> +-------------+------------+-------------+
> | error_error_error_error_error_error_error | VARCHAR | NO |
> | cannot_determine_schema | VARCHAR | NO |
> | check | VARCHAR | NO |
> | schema | VARCHAR | NO |
> | url | VARCHAR | NO |
> | and | VARCHAR | NO |
> | literal | VARCHAR | NO |
> +-------------+------------+-------------+
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)