So I am having dummy csv file:
year, value
2001,А
2001,B
2002,A
2021,B
2022,A
2022,B
Is there any way I can add attributes to this flowfile for every single value of 'year' column? I mean I need this flowfile to have year_2001 attribute with value 2001, year_2002 attribute with value 2002 and so on. I haven't found how to do it via ExtractText processor.
And the second question if it is possible to do so, how can I loop through all of these attributes in the future?