Solved

AttributeValidator Removing Record


Badge +13

I am using serveral AttributeValidator Transformers in FME Desktop 2019.1.2 and noticed that one of them is removing a record. I have a total of 48,328 records that I am trying to validate. However, the total output of Passed + Failed ports adds up to 48,327. The 3 AttributeValidators that I used upstream passed all records thru.

Screenshot of Workbench:

AttributeValidator Settings:

 

It appears that only the 4th AttributeValidator in the workbench does this. Is there a limit to the number of AttributeValidators that a single workbench can contain. I need to use multiple AttributeValidators as I have to perform 6 unique validation test.

Has anyone seen this behavior? If so, what is the fix/work-around? Or is there better way to validate data without using the AttributeValidator?

Thanks,

Mark

icon

Best answer by mark2atsafe 21 October 2019, 20:43

View original

10 replies

Userlevel 4
Badge +13

Hi @mmccart This sounds like a problem to me. Please send details to https://www.safe.com/support/report-a-problem/ Thanks!

Userlevel 2
Badge +16

Have you tried connecting a next transformer (for example an Inspector) to the output?

I have noticed the count not finishing in some weird occasions.

Hope this is one of those.

Badge +13

Have you tried connecting a next transformer (for example an Inspector) to the output?

I have noticed the count not finishing in some weird occasions.

Hope this is one of those.

@erik_jan, I added an AttributeManager and an Inspector and the record still missing. Here are screenshots:

 

 

I'm going to submit a case to Safe per @danatsafe comment below.

Userlevel 2
Badge +16

@erik_jan, I added an AttributeManager and an Inspector and the record still missing. Here are screenshots:

 

 

I'm going to submit a case to Safe per @danatsafe comment below.

And no indication why it skipped a feature in the log file?

In that case you should send a request to www.safe.com/support

Badge +13

Hi @mmccart This sounds like a problem to me. Please send details to https://www.safe.com/support/report-a-problem/ Thanks!

Thanks @danatsafe. Submitting a case now.

Userlevel 1
Badge +21

There used to be an issue with contains regex in the attributevalidator, although i thought it got fixed. Do any of the other attributevalidators use contains regex? If you remove that validation, do all features pass through?

https://knowledge.safe.com/questions/39814/attributevalidator-unexpected-results.html

Badge +13

There used to be an issue with contains regex in the attributevalidator, although i thought it got fixed. Do any of the other attributevalidators use contains regex? If you remove that validation, do all features pass through?

https://knowledge.safe.com/questions/39814/attributevalidator-unexpected-results.html

@egomm, I removed the REGEX validation statement and it passed all the records thru. What's odd is that in the AttributeValidators that are upstream, they contain REGEX statements and it works just fine. Very odd indeed.

Badge +13

While Safe looks into this issue, I replaced all of the AttributeValidator transformers with Tester transformers and the workbench runs as expected. Bonus: This change cut 38 seconds off the workbench run-time!

Userlevel 4
Badge +13

Thanks @danatsafe. Submitting a case now.

This problem with the AttributeValidator has been fixed in the latest 2019.2 and 2020.0 betas - https://www.safe.com/support/downloads/#beta

Userlevel 4
Badge +25

The good news is the original issue is fixed. It's gone into various versions, so I'll list them all:

  • 2019.1: Build 19643
  • 2019.2: Build 19785
  • 2020.0: Build 20105

So check the version/build of the FME you are using and upgrade as necessary. 2019.2 is still in beta but I suspect just 2-3 weeks til it's released.

The not-so-good news is that I'd have to agree that the Tester is quicker at the moment. It's been updated to use "bulk mode" but the AttributeValidator has not. In time, that too will acquire bulk mode and be just about as quick as the Tester, but I don't know when that might be.

Reply