Project: talenddataquality
Issue TDQ-10961: "generate an ETL Job to handle rows" generated job can not run directly(inform no database set, in fact it set), need to reopen it
1. create a mysql connection set database filter. 2. create a column analysis about the connection, add a pattern, run analysis. 3. on analysis Result page, right click on pattern-->Generate Job on pop up dialog select "generate an ETL Job to handle rows" the job generated but can not run directly. reopen it works Expected Result: job should run without reopen it. {code} Starting job PatternRows_1441789279042 at 17:01 09/09/2015. [statistics] connecting to socket on port 3899 [statistics] connected Exception in component tMysqlInput_1 java.sql.SQLException: No database selected com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2728) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2678) com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1612) test5.patternrows_1441789279042_0_1.PatternRows_1441789279042.tMysqlInput_1Process(PatternRows_1441789279042.java:389) test5.patternrows_1441789279042_0_1.PatternRows_1441789279042.runJobInTOS(PatternRows_1441789279042.java:705) test5.patternrows_1441789279042_0_1.PatternRows_1441789279042.main(PatternRows_1441789279042.java:539) [FATAL]: test5.patternrows_1441789279042_0_1.PatternRows_1441789279042 - tMysqlInput_1 No database selected [statistics] disconnected Job PatternRows_1441789279042 ended at 17:01 09/09/2015. [exit code=1] {code}
Story points: 1