Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi SelectHiveQL - flowfile attributes not copied.. design oversight?

avatar
New Member

Hey Guys ( @Matt Clarke ) ,

Does anyone know why the SelectHiveQL processor does *not* copy the flowfile attributes of the incoming flowfile to the outgoing flowfile (unlike other processors)?

I've had to do some crafty things to workaround this. For example, modify my SQL to embed the flowfile attributes I would like to propogate... ie:

select interesting_stuff, 'attribute_1_val' as attribute_1_key from table.

I was thinking of creating a custom processor by subclassing SelectHiveQL processor to fix this issue but I wanted to ask:

1) Does anyone know if this is a known issue with a known fix?

1 ACCEPTED SOLUTION

avatar
Master Guru

This is a regression (NIFI-4862) introduced in 1.5.0 and will be fixed in 1.7.0 (HDF 3.2).

View solution in original post

2 REPLIES 2

avatar
Master Guru

This is a regression (NIFI-4862) introduced in 1.5.0 and will be fixed in 1.7.0 (HDF 3.2).

avatar
Master Guru
@Sonny Chee

As a temporary work around to fix this issue please look into this link.