Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-902

create a Hive table using schema embedded in avro data file

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.1
    • Fix Version/s: 1.1.0
    • Component/s: Data Module
    • Labels:
      None

      Description

      Tom White requested I add this suggestion for Kite following an email exchange on the topic:
      If I have an Avro data file generated by another tool (in my case, sqoop), I'd like to be able to create a Hive table and let Hive automatically read the data file and use the embedded schema.
      Right now the only way I know of to do this is use avro-tools getschema to save the schema to a text file, then in Hive do CREATE TABLE blah STORED AS AVRO tblproperties(schema text file).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blue Ryan Blue
                Reporter:
                dcarroll@cloudera.com Diana Carroll
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: