You are not logged in.
Announcement
Unanswered posts
|
Pages: 1 2

Hi
Welcome to Talend Community!
For a quick start, you might read tutorials here.
Here is a scenario about your requirement.
tMysqlInput--main-->tMap--main-->tPostgresqlOutput
|
look up
tFileInputExcel--main--|
Regards,
Pedro
Offline

Hi,
Yes i did as you said but when i run the job getting below error .
and one more issue excel columns names stoted in output file?
[statistics] connecting to socket on port 3814
[statistics] connected
Batch entry 0 INSERT INTO "c_country" ("c_country_id","ad_client_id","ad_org_id","isactive","created","createdby","updated","updatedby","name","description","countrycode","hasregion","regionname","expressionphone","displaysequence","expressionpostal","haspostal_add","expressionpostal_add","isdefault","ad_language","c_currency_id","ibannodigits","ibancountry") VALUES (AD,Key,key1,NULL,NULL,NULL,NULL,NULL,AND,NULL,AD,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,key3,key4,NULL,NULL) was aborted. Call getNextException to see the cause.
[statistics] disconnected
Offline

Hi,
When I run this Query I am getting syntax error how to resolve this issue?
ERROR: syntax error at or near "AND"
LINE 1: ...country") VALUES (AD,0,0,NULL,NULL,NULL,NULL,NULL,AND,NULL,A...
^
********** Error **********
ERROR: syntax error at or near "AND"
SQL state: 42601
Character: 389
statistics] connecting to socket on port 3397
[statistics] connected
Batch entry 0 INSERT INTO "c_country" ("c_country_id","ad_client_id","ad_org_id","isactive","created","createdby","updated","updatedby","name","description","countrycode","hasregion","regionname","expressionphone","displaysequence","expressionpostal","haspostal_add","expressionpostal_add","isdefault","ad_language","c_currency_id","ibannodigits","ibancountry") VALUES (AD,0,0,NULL,NULL,NULL,NULL,NULL,AND,NULL,AD,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,us_eng,100,NULL,NULL) was aborted. Call getNextException to see the cause.
[statistics] disconnected
Offline

Hi
Sorry. I haven't received your email. And the error above can't point out what caused this error.
So please upload some screenshot about your job.
Usually this is due to the schema of tPostgresqlOutput. Please recheck it.
Regards,
Pedro
Offline

Hi
Now I upload the images I got from your email.
The usage of tUnite is totally wrong here. Please delete it.
Besides, in tMap, you can't leave the expressions of some columns empty.
Regards,
Pedro
Offline

Hi Pedro
I have removed the tunite , I have created remaining columns in excel , I have joined excel and tmap but i am getting same issue?
Last edited by indira (2012-05-15 12:49:33)
Offline

Hi Pedro,
Thanks for your prompt replies for my issue with mysql & postgre data integration. As simple i am creating the job with one mysql table, postgre sql table & using tmap between two tables. The same error i am getting.
How to send a job file here for you reference.
I have sent a mail from another mail address & uploaded job file also.
please give me your suggestions on the job file.
Thanks
Indira
Offline

Hi Indira
Sorry. I think you'd better download the document [TalendOpenStudio_Components_RG_50b_EN] here and read instructions, scenarios.
I notice that you leave 'schema' on tPostgresqlOutput empty which you should get from postgresql DB.
Besides, in tMap the length of input column 'ISO3' is 3 while the length of related column 'country code' is 2.
Maybe the schema of tPostgresqlOutput is against the structure of this table at DB side.
Regards,
Pedro
Offline
Pages: 1 2