Apache Hop version?
2.10.0
Java version?
17.0.2
Operating system
Linux
What happened?
Steps to reproduce:
- Create a "child" pipeline with a Data grid transform
- Create a "parent" pipeline that injects to the Data grid data lines separated by ; and the according meta name specification
- Enable the output pipeline in the ETL Metadata injection transform (to view the result)
Result: The data grid structure is created but only the first column is populated, with all the values unseparated. The log reports an ArrayIndexOutOfBoundsException, when trying to access a "index 1" element on an array with a single element.
Workaround:
- Add a Split fields transform in the child pipeline, after the Data grid
- Inject the Data grid with the data line, but use constant values in the meta section (e.g. Meta -> Name =
data_line and Meta -> Type = String
- Inject the meta structure in the Split fields transform, and specify the same name
data_line in The name of the field to split. Plus: you can specify both the separator and the enclosure of columns (Data grid requires the separator only)
Issue Priority
Priority: 3
Issue Component
Component: Transforms
Apache Hop version?
2.10.0
Java version?
17.0.2
Operating system
Linux
What happened?
Steps to reproduce:
Result: The data grid structure is created but only the first column is populated, with all the values unseparated. The log reports an
ArrayIndexOutOfBoundsException, when trying to access a "index 1" element on an array with a single element.Workaround:
data_lineand Meta -> Type =Stringdata_linein The name of the field to split. Plus: you can specify both the separator and the enclosure of columns (Data grid requires the separator only)Issue Priority
Priority: 3
Issue Component
Component: Transforms