Rahul Challapalli created DRILL-745:
---------------------------------------

             Summary: 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: Bug
            Reporter: Rahul Challapalli


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.2#6252)

Reply via email to