Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
All
-
Small
Description
When running guess schema mock job for processors, some extra code is generated to trigger the guess schema call. This boilerplate code adds extra execution time for no effective use.
Example
try { tacokitGuessSchema.guessComponentSchema(schema_tDataPrepRun_1, "FLOW", false); } finally { tacokitGuessSchema.close(); } /** * [tDataPrepRun_1 begin ] stop */ // ^^^^^ // we should STOP above !!! // /** * [tFileInputDelimited_1 begin ] start */ ... while (fid_tFileInputDelimited_1 != null && fid_tFileInputDelimited_1.nextRecord()) { rowstate_tFileInputDelimited_1.reset(); ...