Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2435

Add support for custom CSV field parsers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 0.10.0
    • None
    • API / DataSet

    Description

      The CSVInputFormats have only FieldParsers for Java's primitive types (byte, short, int, long, float, double, boolean, String).

      It would be good to add support for CSV field parsers for custom data types which can be registered in a CSVReader.
      We could offer two interfaces for field parsers.

      1. The regular low-level FieldParser which operates on a byte array and offsets.
      2. A StringFieldParser which operates on a String that has been extracted by a StringParser before. This interface will be easier to implement but less efficient.

      Attachments

        Activity

          People

            dmitry_kober Dmitrii Kober
            fhueske Fabian Hueske
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m