Skip to main content
Archived

Duplicate Filter - rename unique port

Related products:FME Form
danilo_fme
  • danilo_fme
    danilo_fme

ebygomm
Influencer

The unique port of the duplicate filter outputs the first feature for any key value. It does not only output unique values in a dataset and can be misleading to newcomers to FME.

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.

7 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • August 4, 2017

So we talked about this and see your point. We did look at a variety of other tools (like Excel) and they are also a bit fast and loose with the term "unique". But given what we're really doing, we're thinking:

 

 

DuplicateFilter

 

First

 

Duplicate

OR

DuplicateFilter

 

First

 

Duplicates

 

 

might be a clearer way of expressing what is going on. What think ye @egomm @david_r @takashi

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • August 4, 2017

I believe First is as misleading as Unique (not only the first feature will output here, but all first unique features). I would use the SQL terminology:

DuplicateFilter

 

Distinct

 

Duplicate

takashi
Celebrity
  • August 5, 2017
Hi @daleatsafe, honestly it's hard to suggest a better English word fitting the actual behavior, since my mother tongue is not English. Only a thing I would say is that it would be better to keep consistent with the name of the "Unique" operator used in the AttributeValidator, if you would change the port name.

 

By the way, I found a serious defect in the DuplicateFilter used in conjunction with Feature Tables, and reported it with C129763 yesterday. I hope it will be resolved with the highest priority within the issues regarding the DuplicateFilter. Thanks in advance.

 


ebygomm
Influencer
Forum|alt.badge.img+44
  • Author
  • Influencer
  • August 5, 2017
The use of unique in the AttributeValidator is even more misleading in my opinion, although wasn't aware of it before as i fell out with it sometime ago.

 

 

If I'm testing for unique values, I'd expect all features where the attribute is not unique to fail, not just the 2nd/3rd duplicate found (although would then make this a blocking transformer). But maybe that's just me. The duplicate filter at least gives the hint that it's about filtering/removing duplicates rather than identifying unique values.

 

 

Unhelpfully though, I don't know what a better term is - first distinct?

 

 


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • August 5, 2017
First Distinct is very clear. No chance for confusion. A bit verbose but it's not like that's stopped us before... :-)

 

 


david_r
Celebrity
  • August 8, 2017
I like "First distinct", although I didn't really have an issue with "Unique" either, haven't had any feedback from our users indicating it was confusing.

LizAtSafe
Safer
Forum|alt.badge.img+17
  • Safer
  • February 12, 2024
Updated idea statusGathering InterestArchived
Idea merged into:

All the votes from this idea have been transferred.

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