Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6806

CREATE TABLE should support STORED AS AVRO

    XMLWordPrintableJSON

Details

    • Reviewed
    • Hide
      Add support to infer Avro schema from Hive table schema. Avro-backed tables can simply be created by using "STORED AS AVRO" in DDL statement. AvroSerDe takes care of creating appropriate Avro schema from Hive table schema, a big win in terms of Avro usability in Hive.
      Show
      Add support to infer Avro schema from Hive table schema. Avro-backed tables can simply be created by using "STORED AS AVRO" in DDL statement. AvroSerDe takes care of creating appropriate Avro schema from Hive table schema, a big win in terms of Avro usability in Hive.

    Description

      Avro is well established and widely used within Hive, however creating Avro-backed tables requires the messy listing of the SerDe, InputFormat and OutputFormat classes.

      Similarly to HIVE-5783 for Parquet, Hive would be easier to use if it had native Avro support.

      Attachments

        1. HIVE-6806.patch
          48 kB
          Ashish Singh
        2. HIVE-6806.1.patch
          50 kB
          Ashish Singh
        3. HIVE-6806.2.patch
          64 kB
          Ashish Singh
        4. HIVE-6806.3.patch
          77 kB
          Ashish Singh

        Issue Links

          Activity

            People

              rem120 Jeremy Beard
              rem120 Jeremy Beard
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: