Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
manu1512
Creator
Creator

Task got Stuck

Hi all,

I am running a reload task where at at particular point task has stuck for a long time.It is not proceeding further.

Pfa the attach logs amd pls suggest something if you can

19 Replies
manu1512
Creator
Creator
Author

loveisfail‌ any hlp pls

darrell_tobin
Creator
Creator

Hi Manu,

Not the logs.

Go to the Qlik app.

Select 'Data load editor' then copy the script in here out then post it here.

Then say at which point the load script hangs.

manu1512
Creator
Creator
Author

Its is very long script??

darrell_tobin
Creator
Creator

OK so at which point is script hanging?

What is type of connection at hanging?

Is it hanging during indexing?

Send the part of the script that hangs?

How big is the data source in rows

manu1512
Creator
Creator
Author

Hi Darell,

I have attached the full script .please have a look

manu1512
Creator
Creator
Author

darrell_tobin
Creator
Creator

OK so at which point is script hanging?

How big is the data source in rows?

manu1512
Creator
Creator
Author

from line 751...in the logs the data source has around 100000 rows

Anil_Babu_Samineni

Tough to say

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
darrell_tobin
Creator
Creator

Hi Manu,


If the source data only has 100000 rows it is not this that is causing the issue.

I can't see the data so can't test but looking at the script this look like issues with your joins.

So you have several joins (inner and left) in this script using the WCONHIST_tmp table.  This I suspect is the reason for the hang.

If the join is not correct you can get the data joining to itself (Cartesian join) and multiplying the result rather than connecting the table 100,000* 100,000 =

                                                      10,000,000,000

I would strip the script back to the only go to just before it hangs.

Then load the data from the temp tables and view this in your Qlik sense app.  Count rows? Look for duplication.  I suspect this will be very big.

Hope this help please select correct and like if it helps you fix your issue.. 🙂

  

742// *** TXT_EXPORT.SPEICHER und TXT_EXPORT.BOHRUNG ***
743
744// Den Einträgen Count (0,1,2,3,5) müssen alle Speicher und Bohrungen zugeordnet werden.
745// Die Felder "TXT_EXPORT.SPEICHER" und "TXT_EXPORT.BOHRUNG" werden später an der Oberfläche
746// nicht visualisiert somit wird bei jeder möglichen Selektion der Speicher immer nur eine
747// technische Zeile visualisiert.
748
749Left Join(WCONHIST)
750LOAD Distinct
751WCONHIST_SPEICHER as tmp_SPEICHER,
752WCONHIST_NAME_BOHRUNG as tmp_BOHRUNG
753Resident WCONHIST_tmp;