Skip to main content
Question

ChangeDetector - pass attribute from original features to updated features when not one of the selected attributes

  • September 24, 2020
  • 7 replies
  • 32 views

ebygomm
Influencer
Forum|alt.badge.img+32

In the change detector is there any way of transferring an attribute value from the original feature to the updated feature when it's not either a Key Attribute or one of the attributes listed in the matching strategy

e.g.Capture

 

7 replies

mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • September 28, 2020

Did you get an answer to this? It looks to me like you can't, which is very weird. I would have expected a Merge Attributes section, like on other transformers. It looks to me like you'll have to follow up with a FeatureMerger transformer to copy info across. Not ideal and definitely worth posting an Idea for.


ebygomm
Influencer
Forum|alt.badge.img+32
  • Author
  • Influencer
  • September 28, 2020

No, I'm presuming it's not possible. I couldn't decide whether a FeatureMerger would be the best way, or whether to include the UniqueID as a an Attribute to Match, discard the features that only differed by the UniqueID attribute then fetch the value from a list built in the change detector. Or whether if having to use the FeatureMerger anyway, is the ChangeDetector even worth keeping?

 

I thought I might be missing something, as I thought it might be a common use, to compare records from say an outside source, with an existing table and then want to update the existing table using a unique key that only exists within that table, not the outside source.


jelle
Contributor
Forum|alt.badge.img+16
  • Contributor
  • November 9, 2020

Hi @ebygomm, I ran into the same issue. Did you post an idea? I couldn't find it.

Using a FeatureMerger seems the best way to me as well.


ebygomm
Influencer
Forum|alt.badge.img+32
  • Author
  • Influencer
  • November 10, 2020
jelle wrote:

Hi @ebygomm, I ran into the same issue. Did you post an idea? I couldn't find it.

Using a FeatureMerger seems the best way to me as well.

No, I didn't get round to posting an idea, it ended up no longer being an issue for the particular workspace i was developing.


jelle
Contributor
Forum|alt.badge.img+16
  • Contributor
  • November 13, 2020
ebygomm wrote:

No, I didn't get round to posting an idea, it ended up no longer being an issue for the particular workspace i was developing.

I mentioned you and @mark2atsafe​  in the idea. I hope that is fine for you both: https://community.safe.com/s/idea/0874Q000000j0MdQAI/detail


ebygomm
Influencer
Forum|alt.badge.img+32
  • Author
  • Influencer
  • October 31, 2024

@jelle - the link to the idea is broken but it looks like it’s now possible to preserve original attributes :-)

 

 


jelle
Contributor
Forum|alt.badge.img+16
  • Contributor
  • October 31, 2024

@ebygomm that is nice!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings