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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
mahesh_Dev
Contributor III
Contributor III

logic for date on batch processing

hi all,

 

i need logic to develop from source data that job should read starting date and till ending date and this should be processed 

example 

we are running batch job on 12:00 till next date 

15/10/2018 12:00  till 16/10/2018 12:00

i need the logic how can we achieve

 

thanks

 

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

 

    My understanding is that you are trying to run a delta data extraction process. If you are using a Database, the advise will be to store the last run time in the DB and pick the last run time from DB as the first first step. You can store this data into a context variable and continue the processing. In this way, you will not miss any data if you are manually running beyond the normal schedule time.

 

    Now, if you want to capture the 12 am time of current day, you can create a context variable and populate the current day to it (using Talend or java date functions). 

 

If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂

 

Warm Regards,

 

Nikhil Thampi

View solution in original post

3 Replies
Anonymous
Not applicable

Hi,

 

    My understanding is that you are trying to run a delta data extraction process. If you are using a Database, the advise will be to store the last run time in the DB and pick the last run time from DB as the first first step. You can store this data into a context variable and continue the processing. In this way, you will not miss any data if you are manually running beyond the normal schedule time.

 

    Now, if you want to capture the 12 am time of current day, you can create a context variable and populate the current day to it (using Talend or java date functions). 

 

If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂

 

Warm Regards,

 

Nikhil Thampi

mahesh_Dev
Contributor III
Contributor III
Author

nikhil

 

could you help me how to do this 

 

thanks

Anonymous
Not applicable

Hi Mahesh,

 

       I would say, try to create a sample job based on the above details and if you are stuck, please post the job screen shot and other details in the forum. In this way, you will learn the finer aspects of Talend tool yourself 🙂

 

        Also talk to your architects and designers about how they want to fetch the delta data. Give all the options discussed above with them so that they can take an informed decision on job creation.

 

Warm Regards,

 

Nikhil Thampi