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

Enhance CSVFileSource to support inputConf

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 0.8.4
    • Fix Version/s: 0.8.4
    • Component/s: Core
    • Labels:

      Description

      Most FileSource implementations support the "inputConf" method:
      http://crunch.apache.org/apidocs/0.8.3/org/apache/crunch/Source.html#inputConf%28java.lang.String,%20java.lang.String%29

      This method allows consumers to set/override one configuration option at a time. If this were implemented in the CSVFileSource, consumers could instantiate a file source with one of the simple constructors and modify only the options they need customized, instead of specifying all options using defaults in the full constructor.

        Attachments

          Activity

            People

            • Assignee:
              jwills Josh Wills
              Reporter:
              champgm mac champion
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified