Project: talenddataquality
Issue TDQ-4967: for the ETL job for oracle valid rows also get invalid result.
issue 1 1. create an oracle analysis, add pattern on a column. 2. run the analysis, turn to "Result Page", right click on the pattern ->"Generate Job". 3. on the pop-up dialog, select "Generate an ETL job to handle valid rows" the generate job can run successfully, check the then result: the output file are all invalid ones--it should be valid. for the "Generate an ETL job to handle invalid rows" and "Generate an ETL job to handle rows" works well up to now. issue 2: for mysql the "Generate an ETL job to handle Invalid rows", jogs can not run successfully. get errors:( 'gg@qw cc.om' is a value in mysql database. the pattern is "Email Address" for a varchar column) Exception in component tMySQLInvalidRows_1 java.sql.SQLException: Invalid value for getInt() - 'gg@qw cc.om' com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929) com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2725) test2.patterninvalidrows_1332152109312_0_1.PatternInvalidRows_1332152109312.tMySQLInvalidRows_1Process(PatternInvalidRows_1332152109312.java:626) [statistics] disconnected test2.patterninvalidrows_1332152109312_0_1.PatternInvalidRows_1332152109312.runJobInTOS(PatternInvalidRows_1332152109312.java:1104) test2.patterninvalidrows_1332152109312_0_1.PatternInvalidRows_1332152109312.main(PatternInvalidRows_1332152109312.java:972)
Story points: 13