You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2014-08-19 08:39:36

zitagu
Member
6 posts

zitagu said:

[resolved] How to set a header with special caracter in the tFileOutputDelimited?

Hello,
I want to set a header with special caracter "@" in the tFileOutputDelimited, but i have following error:

mini_Capture.png_20140819-0943.png

I want to know how to set a header with the specials caracters in talend?

Thank you in avance,

Last edited by zitagu (2014-08-19 08:43:37)

Offline

#2 2014-08-19 08:49:52

zitagu
Member
6 posts

zitagu said:

Re: [resolved] How to set a header with special caracter in the tFileOutputDelimited?

I'm using talend open studio for data integration 5.2.0, thanks

Offline

#3 2014-08-19 09:00:52

xdshi
Talend Team


xdshi said:

Re: [resolved] How to set a header with special caracter in the tFileOutputDelimited?

Hi,

Talend Studio is a Java code generator, a Talend job will be translated to a Java Class, a column on the schema will be a variable in the class, a variable with special character(@, space...) is not allowed in Java.

As a workaround, you can generate the 1st line with a tFixedFlowInput and complete your output file without header.
See my pics
Best regards
Sabrina

mini_1.png_20140819-1000.pngmini_2.png_20140819-1000.pngmini_3.png_20140819-1000.pngmini_4.png_20140819-1000.png


What we can do is to make sure that Talend will be your best choice!

Offline

#4 2014-08-19 10:30:06

zitagu
Member
6 posts

zitagu said:

Re: [resolved] How to set a header with special caracter in the tFileOutputDelimited?

It works! Thank you for your help smile

Offline

#5 2014-08-19 11:12:54

sakhale1990
Member
41 posts

sakhale1990 said:

Re: [resolved] How to set a header with special caracter in the tFileOutputDelimited?

Hi Sabrina,
may actual problem is that a have to integrate the data from Quote and opportunity module into an csv file but the data should be last day record can u pls send me the whatever procedure required for it.

in a job i already get the Salesforce Modules and TFileOutputDelimiter and i only want the expression required to perform this operation.
Regards,
Sam


mini_blob_20140819-1212.png

Last edited by sakhale1990 (2014-08-19 11:13:21)

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy