Skip to content

Wrong mapping of field names to their index for DelimitedRowFilter #440

Open
@loquisgon

Description

@loquisgon

When using a DelimitedRowFilter and the input schema has fields that are not in alphabetical order then the Schema will be configured with the wrong fieldName to indexPositionForField mapping. That is, imagine your schema is XField:Long, AField:Float, BField:String then the mapping that will be produced is AField:Long, BField:Float, XField:String which is wrong.

To Reproduce
See unit test in #439.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions