Does parallel execution affect global variable?

One Star

Does parallel execution affect global variable?

If i run job with parallel execution, and each time adapt global variable A ,and according to A's value,do different things  .Will there be some potential bug?

Moderator

Re: Does parallel execution affect global variable?

Hi lei,

What's kind of doing different things?
Is there any related use case for this issue? Did you get any issue from your scenario?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Does parallel execution affect global variable?

I checked it does affect. For example every time iterate, golbal value add 1, and print it .This parallel result won't be like 1,2,3,4,5... I change my job logical, and solved this

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now