I want to generate calendar data using tRowGenerator. please refer the attached calendar xlsx file. Based on that file I need to generate data for all column. please share your code and information.
Note: column name and data available in attached excel file.
This is a good learning exercise and is more of a Java question than a Talend question. I *could* do this for you, but it would not help you if I did it. I can give you a hint though. Essentially you need to work on generating your dates. You can do this by setting a start date, knowing how many days you want to iterate through and use the routines.TalendDate.addDate method iteratively for every subsequent day. Everything else you can either get based on that date using TalendDate functionality or you can create your own routine to apply specific logic.
You can not generate the attahced formatted data with tRowgenerator,you may can do writing some routien with java.
I want to know how to create week_no_of_the_month and fiscal_yr_week columns using tRowgenerate with tmap. I cannot generate these two column values from calendar excel file. I have completed remaining columns from that file
This is one way of doing it......
You can generate that data with a tRowGenerator @manodwhb. You can use routines to generate data with the tRowGenerator. In fact, that is the main way in which you would generate any data with the tRowGenerator
I have generated calendar data using tRowGenerator with tmap. I will attach the job quickly
Join us at the Community Lounge.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Read about OTTO's experiences with Big Data and Personalized Experiences
Pick up some tips and tricks with Context Variables
Take a look at this video about Talend Integration with Databricks