Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-745

Drill fails to read the schema of avro tables from hive when the schema is in a separate file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Storage - Hive
    • None

    Description

      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

      ----------------------------------

      Attachments

        1. DRILL-745-1.patch
          11 kB
          Venki Korukanti
        2. DRILL-745-2.patch
          12 kB
          Venki Korukanti

        Activity

          People

            vkorukanti Venki Korukanti
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: