Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Working with indices for accessing a row's fields is cumbersome especially if a row consists of many columns (some pipelines have 500+ columns) and a column name needs to be mapped to an index before a field can be accessed. We can leverage the available schema information to make dealing with rows more convenient. The runtime impact should be neglectable if implemented correctly. If maximum performance is required people can fallback to index-based field access or even internal RowData structure at any time.
This introduces:
Row.withPositions(int length) Row.withNames() Row.getField(String) Row.setField(String, T value)
Attachments
Issue Links
- links to