[resolved] Patterns (Regular expressions)

Highlighted
Employee

[resolved] Patterns (Regular expressions)

Talend Open Profiler 1.0.0RC1 is released with a few patterns (in "Libraries" folder). These patterns are regular expressions that databases now support (at least recent versions of MySQL and Oracle). They provide you some kind of business indicators that measure your data quality.
You can drag&drop these patterns can be onto selected columns in the editor. This will automatically create an indicator that will show you how much of your data respects your pattern. By a right click on the "Patterns" folder, you are able to create your own patterns (provided you know how to write regular expressions for your database system).
I think that this topic could be a place where you may share your patterns with others. The patterns you provide could also be integrated in a next release of TOP if they are correct and if we think that they are pertinent enough. But the best way to see your pattern integrated into TOP is to fill a feature request at http://talendforge.org/bugs/my_view_page.php

One Star

Re: [resolved] Patterns (Regular expressions)

Hello Scorreia,
I tried to use the patterns in on a win32 xp sp3 platform with java 1.6_latest on a oracle 10g (XE and production 10g) database and get the following error: Fail to run this analysis "analysisname". Error messageSmiley SurprisedRA-00920: invalid relational operator.
Is this a known bug?
The syntax for the regexp match in Mysql and oracle are different:
Mysql uses: select * from TABLE where columnname1 REGEXP 'regexp-pattern';
Oracle uses: select * from TABLE where REGEXP_LIKE(columnname1,'regexp-pattern');
using the MYSQL syntax in oracle leads to a ORA-00920: invalid relational operator - error.
best regards,
OJ
Employee

Re: [resolved] Patterns (Regular expressions)

Hi ogrolle,
yes, the syntax is different and the SQL generated by TOP is different. TOP should handle this correctly.
Could you report a bug with that use case, please?
Employee

Re: [resolved] Patterns (Regular expressions)

this bug has been fixed in 1.1.0 version.
One Star

Re: [resolved] Patterns (Regular expressions)

And what about SQL Server?
Is it possible to use regexp pattern with SQL Server?
Employee

Re: [resolved] Patterns (Regular expressions)

Hi pemen,
Currently SQL Server does not provide native support of regular expressions. you must use an external library. See for example http://www.codeproject.com/KB/string/SqlRegEx.aspx or http://msdn.microsoft.com/en-us/magazine/cc163473.aspx
Once this function is implemented, I can help to use it in TOP.
The procedure to add an external function has no user interface yet. This is planed for the next version.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Introduction to Talend Open Studio for Data Quality

Find out about Talend Open Studio for Data Quality

Watch Now

Enabling Data Governance

Learn how to enable Data Governance

Watch Now

The Definitive Guide to Government Data Quality

Take a peek at the definitive guide to Government Data Quality

Read