DataCleaner icon indicating copy to clipboard operation
DataCleaner copied to clipboard

Way to profile fields where dependent value has certain character set

Open davkrause opened this issue 9 years ago • 1 comments

Hello all,

When using the character set distribution tool I see some interesting values with (for me) unexpected characters. Is there a way that I can use this information to add other profiling tools to values where that distribution is true. Maybe like an Equals tool, but where character set is = <...>

Is it possible?

davkrause avatar Nov 28 '17 07:11 davkrause

We don't have a filter that does this out of the box. But you might get away with using the JavaScript filter or maybe the Groovy transformer to detect the character set. Actually, you may be able to do the exact same thing via Groovy as our analyzer is doing... it is using the ICU4j library from IBM to check if a text matches a UnicodeSet. Check out the DC source code for the same. If you spend a bit of time with the Groovy language, I bet it can be done.

kaspersorensen avatar Nov 29 '17 01:11 kaspersorensen