Maximum Length Of Context Variable Value

Highlighted
Four Stars

Maximum Length Of Context Variable Value

Hi,

 

What's the maximum length for context variable value to be defined in Talend Open Studio?

 

I am facing below error with my running fine query, only difference I could see is I've parameterized it and passed values from context variable, not hardcoded in Talend job during deployment.

 

"Java Exception|tNetezzaInput_1|org.netezza.error.NzSQLException:The action you have attempted has caused the back end to close the connection."

 

Please advise if somebody has faced this error before and resolution about same.

 

Thanks

 

 

Forteen Stars

Re: Maximum Length Of Context Variable Value

@Bapps,context variables length is depending on the datatype what you specified.

please check the below links to knwo the datatypes maxium lengths.

https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html

http://zetcode.com/lang/java/datatypes/

https://www.tutorialspoint.com/java/java_basic_datatypes.htm

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Four Stars

Re: Maximum Length Of Context Variable Value

Thanks Manohar.

But this doesn't solve my problem Smiley Sad

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog