Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-406

Have the Avro IO methods in From/To take PTypes instead of AvroTypes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0, 0.8.3
    • None
    • None

    Description

      I'm finding it somewhat annoying to have to cast PTypes from different contexts (like from a PCollection.getPType or from a derived type) back to AvroType whenever I want to use From/At.avroFile methods. I think we can safely move the casting into the From/At methods and assume that someone who is using Avro will only ever be using it with the AvroTypeFamily.

      Attachments

        1. CRUNCH-406.patch
          6 kB
          Josh Wills

        Activity

          People

            Unassigned Unassigned
            jwills Josh Wills
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: