• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

#1 2010-05-26 13:49:45

Conti_AH
New member
Registered: 2010-05-25
Posts: 2

[resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

Hello!

I tried to build a simple Job in order to evaluate the ETL-capabilities of TOS.
I used the components tELTOracleInput, tELTOracleOutput and tELTOracleMap in order achieve an inner Join between two Table s1, s2 inserting the result into table trg. The generated SQL was correct and the job worked well.

INSERT INTO DISPO_SPIEL.TRG(SCHL_ID,VAL_1,VAL_2)
(SELECT J1.SCHL_ID, J1.VAL_1 , J2.VAL_2
FROM  DISPO_SPIEL.S1 J1 INNER JOIN  DISPO_SPIEL.S2 J2
ON(  J2.SCHL_ID = J1.SCHL_ID  ))

But when I save, close and re-open the job it seems to be corrupted. When running it,  I'm getting a "Too  many values" - Error, as  the generated SQL has changed to

INSERT INTO DISPO_SPIEL.TRG(SCHL_ID,VAL_1,VAL_2)
(SELECT J1.SCHL_ID, J1.VAL_1 , J2.VAL_2, J1.SCHL_ID, J1.VAL_1 , J2.VAL_2
FROM  DISPO_SPIEL.S1 J1 INNER JOIN  DISPO_SPIEL.S2 J2
ON(  J2.SCHL_ID = J1.SCHL_ID  AND  J2.SCHL_ID = J1.SCHL_ID  ))

I am able to "restore" the correct version by going into the tELTOracleMap - editor and pressing update, but particularly with regard to exporting the job this behaviour seems to be a severe problem.
I am using TOS 4.0.1 with Java.

Thanks in advance for any advice.

Regards
Alexander


Uploaded Images

Offline

#2 2010-07-12 08:57:03

Terry_from_Sydney
Guest

Re: [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

I am experiencing the same error as you describe. I am also evaluating the use of ELT with Oracle.

I get the "too many values" error when I run an existing job. When I examine the generated SQL, the select statement is duplicated which gives the error. I remove the error by opening the map and saving it. The job then runs OK.

When I export the script, the corrupted SQL is generated again.

#3 2010-07-12 08:59:36

Terry_from_Sydney
Guest

Re: [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

I forgot to include that I am using:-
"Talend Open Studio"
Version: 4.0.0
Build id: r39896-20100406-0827

with Java

#4 2010-07-22 10:41:37

Conti_AH
New member
Registered: 2010-05-25
Posts: 2

Re: [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

This issue seems to be resolved with TOS Version 4.0.2.

Regards
Alexander

Offline

#5 2010-07-27 09:02:41

Terry_From_Sydney
Guest

Re: [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

Thanks for that advice, Conti_AH.

I downloaded and installed v4.0.2 and my problems have now disappeared.

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Re-opened Job with tELTOracleMap generates incorrect SQL

Board footer

Powered by FluxBB