Skip to main content
Question

BulkAttributeRenamer renames fme_basename and fme_dataset

  • November 2, 2020
  • 4 replies
  • 47 views

danielkroon
Forum|alt.badge.img

Hi,

 

In FME Workbench Build 20252, if I add a prefix using the BulkAttributeRenamer, it also renames fme_basename and fme_dataset. This have not been the case before. In the "visual preview > table" the fme_ attributes are NOT renamed, but in the Feature Information they are renamed.

 

Have someone else come across this?

I think this is actually a bug.

 

Regards,

Daniel

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • November 2, 2020

Are they exposed or unexposed Attributes?


danielkroon
Forum|alt.badge.img
  • Author
  • November 3, 2020

I can see this behavior when fme_basename and fme_dataset are exposed. After the BulkAttributeRenamer they appear as <missing> in the table view, and are renamed, having correct values, in the feature information. However, I just realize I can't expose fme_basename and fme_dataset with the AttributeExposer, regardless any renaming. It only works to expose them in the reader.


pmcpherson
Contributor
Forum|alt.badge.img+10
  • Contributor
  • November 9, 2020

I noticed something similar. In my case fme_basename is exposed within an upstream FeatureReader. If I set the BulkAttributeRenamer to prefix all attributes, then fme_basename become unexposed. If I set the BulkAttributeRenamer to explicitly prefix selected attributes (even all of them), then it works correctly.


  • November 10, 2020

Thanks for you answer @pmcpherson​ !

  • When you set BulkAttributeRenamer to prefix all attributes, and fme_basename become unexposed, does fme_basename become renamed?
  • So if you use the "Selected Attributes" mode, you can select all, except fme_* and it works. I guess this is an option if the set of attributes doesn't change downstreams.