Support Questions

Find answers, ask questions, and share your expertise

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

Explorer

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

Super 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

Super Guru

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

Super Guru
@Sonny Chee

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.