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

Mismatch between CsvTableSource constructor and builder params

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Not a Priority
    • Resolution: Unresolved
    • 1.8.1, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0, 1.10.1
    • None
    • API / Core
    • None

    Description

      CsvTableSource has a three constructors and a public inner builder class.  There's a slight mismatch between the constructors and the builders, namely:

      • The builder allows emptyColumnAsNull, but the constructors do not.
      • There's one constructor that allows selectedFields, but the builder does not.

      It feels a bit incongruous.  Moreover, there's no way to use both these features.

      It might be good to align constructors and builder. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrisnix Chris Nix
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: