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

CsvTableSource "lack of column" warning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.5.0
    • None
    • Table SQL / Ecosystem
    • None

    Description

      The CsvTableSource class is built by defining expected columns to be find in the corresponding csv file.

       

      It would be great to throw an Exception when the csv file doesn't have the same structure as defined in the source. For retro-compatibility sake, developers should explicitly set the builder to define columns stricly and expect Exception to be thrown in case of structure difference.

      It can be easilly checked with file header if it exists.

      Is this possible ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            flacombe François Lacombe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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