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

From.avroFile do not support globbing patterns (GenericData based overloads)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 1.0.0
    • Core
    • None
    • Patch

    Description

      GenericData based overloads of From.avroFile throws a RuntimeException when a globbing pattern is provided. I see no reason to not support globbing patterns here as it works fine with textFile and SpecificData based overloads.

      The issue is that the code extracting Avro schema from the first file use listStatus rather than globStatus.

      Attachments

        Activity

          People

            jwills Josh Wills
            clement@unportant.info Clément MATHIEU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: