Question

Fanout based on attribute in a dynamic feature writer

  • 3 April 2019
  • 2 replies
  • 15 views

Badge +5

I have a dynamic feature reader (reading schema and generic ports) and a dynamic feature writer. I need to fanout the dataset based on an attribute and then write it. But, using dynamic writer the incoming attributes are not visible. Is there any possible way to make the attributes visible and then fanout?


2 replies

Badge +16

HI @raaaju1990,

 

Since you are writing dynamically, the incoming schema features should be created based on the value of the attribute you are using to fan out, otherwise the dynamic writing wont find the correct schema to create the fan out dataset.

Hopefully this article might help.

Itay

Badge

If an attribute is not visible you can make it visible with the AtributeExposer. It is also possible to expose an attribute directly in the FeatureReader transformer. You can then use the exposed attribute for the fanout.

Reply