Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Print out how many rows passed through component (probably tJavaRow)

Hello,

 

Because I use tRunJob I want to see progress of my child job. So I thought adding some java code into some tJavaRow with something like System.out.println, ....

 

Can someone help me here?

 

Thank you.

Labels (3)
4 Replies
Anonymous
Not applicable
Author

hi for example if you are using tmysqlinput or any component u can find number of line option in global variables by that u can print how many rows are passing

eg :

System.out.println(((Integer)globalMap.get("tMysqlInput_1_NB_LINE")));

 

find the attachment.


Capture3.PNG
Anonymous
Not applicable
Author

is this solution correct ?

Anonymous
Not applicable
Author

Not exactly, it just show me whole number of rows it reads:

0683p000009LsnL.png

 

But I want to show for example one line every 1000 rows it reads.

Anonymous
Not applicable
Author

Hello,
The tFlowMeterCatcher component catches the processing volumetric from the tFlowMeter component and passes them on to the output component.

Could you please have a look at this component reference about:TalendHelpCenter:tFlowMeterCatcher.

Feel free to let us know if it is OK with you.

Best regards

Sabrina