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

FieldParsers error state is not reset correctly to NONE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.1.0
    • None

    Description

      If during the parse of a csv there's a parse error (for example when in a integer column there are non-int values) the errorState is not reset correctly in the next parseField call. A simple fix would be to add as a first statement of the parseField() function a call to setErrorState(ParseErrorState.NONE) but it is something that should be handled better (by default) for every subclass of FieldParser<T>

      Attachments

        Issue Links

          Activity

            People

              f.pompermaier Flavio Pompermaier
              f.pompermaier Flavio Pompermaier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: