Avro
  1. Avro
  2. AVRO-830

Add AvroTextOutputFormat for emitting text as Avro Data Files

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.2
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This is the inverse of AvroAsTextInputFormat (introduced in AVRO-808). AvroTextOutputFormat would be useful for streaming programs as it allows them to write an Avro Data File with a "bytes" schema.

        Activity

        Hide
        Doug Cutting added a comment -

        This looks good and is a great addition. I've just committed it. Thanks, Tom!

        Show
        Doug Cutting added a comment - This looks good and is a great addition. I've just committed it. Thanks, Tom!
        Hide
        Tom White added a comment -

        Here's a patch with unit tests. Run the following before applying the patch.

        svn mv lang/java/mapred/src/test/java/org/apache/avro/mapred/TestAvroAsTextInputFormat.java lang/java/mapred/src/test/java/org/apache/avro/mapred/TestAvroTextSort.java
        
        Show
        Tom White added a comment - Here's a patch with unit tests. Run the following before applying the patch. svn mv lang/java/mapred/src/test/java/org/apache/avro/mapred/TestAvroAsTextInputFormat.java lang/java/mapred/src/test/java/org/apache/avro/mapred/TestAvroTextSort.java

          People

          • Assignee:
            Tom White
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development