Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Contributor

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.