back to forum.

Topic: dictionary values not honored (DC profiler 1.5)

Topic by
infowill

2009-05-12
23:00

dictionary values not honored (DC profiler 1.5)

I have a varchar column in a mySQL DB that has US zipcodes ( ex : " 77401 "). In my dictionary, I am trying to identify records(rows) that have values like "12345", or "00000"; invalid zipcode values.

However, in this case, the result set for the matches includes ALL values, even when the dictionary file is empty.

I am using DataCleaner 1.5.

Thanks,
Will

Reply by
asbjorn

2009-05-15
15:50
Hi Will
I just created a ticket for this issue #289. And looking into it. Can you give me some more information. What datatype are you using for zipcodes i mysql?
/Asbjørn

Reply by
asbjorn

2009-05-15
16:10
Sorry, i properly should have read your question before answering :). However I have one more question which you hasn't already answered.
Did you match on a subset or on all selected data?
/Asbjørn

Reply by
infowill

2009-05-15
16:56
Hi, it's simply a varchar (12) with nullable fields.

The dictionary values are just not honored, it's pretty straight forward.

Let me know if you need anything else.

Reply by
infowill

2009-05-15
16:58
I matched on ONLY 1 column named "ZIPCODE"

Does that answer your question ?

Reply by
asbjorn

2009-05-15
17:00
That what I expected as well. This is a bug and I'll be looking into it.
I'll let you know when it is fixed.

Reply by
infowill

2009-05-15
17:01
Thank you very much !
Do you have an estimated time frame ?
Thanks,
Will

Reply by
asbjorn

2009-05-15
17:05
I found a temporary workaround. If you only selects the column containing the zipcode in the "data selection" tab it seems to work as expected

Reply by
infowill

2009-05-15
18:01
That did NOT work for me.

Reply by
kasper

2009-05-16
08:04
Hi guys,

Glad to see that you have been approaching this problem. I'm currently on holiday so I don't have the time to look into it right now, but I will in a few weeks. However, I recall authoring a unittest for this scenario. If you want to investigate further, try looking at this:

Reply by
kasper

2009-05-31
13:59
Hi infowill,

I finally got to take a look at this and fixed the bug. I was quite surprise to find that this is clearly a bug and there are no apparent workarounds for it except to wait for DC 1.5.2 or use a database-based dictionary. I will try and push for DC 1.5.2 so we can get the fix out soon. For now you can download the latest build from our build and test system.

Best,
Kasper

You need to be logged in to participate

In order to post your own comments on this topic, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

 

Go back to forum.