• Index
  •  » Talend Open Studio for Data Integration » Installation
  •  » value too long for type character varying(40) in Talend?

#1 2012-07-06 07:30:07

indira
Member
Registered: 2012-05-09
Posts: 125

value too long for type character varying(40) in Talend?

Hi,

ERROR: value too long for type character varying(40)ERROR: current transaction is aborted, commands ignored until end of transaction block


plz give me examples

Offline

#2 2012-07-06 07:41:35

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: value too long for type character varying(40) in Talend?

Hi

Please show us the screen shot of your job and the entire error info.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-07-06 07:46:26

indira
Member
Registered: 2012-05-09
Posts: 125

Re: value too long for type character varying(40) in Talend?

Hi Pedro,

previous i send the screen shot but it not visable , plz can i send the your mail

Offline

#4 2012-07-06 07:47:51

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: value too long for type character varying(40) in Talend?

Hi

Yes. Please.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-07-06 08:12:59

indira
Member
Registered: 2012-05-09
Posts: 125

Re: value too long for type character varying(40) in Talend?

Hi Pedro,

I send the mail

Offline

#6 2012-07-06 08:31:05

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: value too long for type character varying(40) in Talend?

Hi

The error indicates that the length of input data is longer than the length of the column in DB Table.

Regards,
Pedro


Only Paranoid Survive.

Offline

#7 2012-07-06 09:08:04

indira
Member
Registered: 2012-05-09
Posts: 125

Re: value too long for type character varying(40) in Talend?

Hi Pedro,

OK. I resolve  value too long issue.


((Select from table2.value from table2 where table2.id= table.id AND (table2.attibute_id =31) LIMIT 1),1,59)

((Select from table2.value from table2 where table2.id= table.id AND (table2.attibute_id =31) LIMIT 1),1,30)

(Select from table2.value from table2 where table2.id= table.id AND (table2.attibute_id =34) LIMIT 1)

  please give this solutions also how to use in talend
first  i know this condition table2.id= table.id (i am using innerr join)
second   Select from table2.value from table2 ?(how to use????????????)
third  table2.id= table.id AND (table2.attibute_id =34) LIMIT 1( how to use ???????????????)

Last edited by indira (2012-07-06 09:08:44)

Offline

#8 2012-07-06 09:22:55

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: value too long for type character varying(40) in Talend?

Hi

Are you sure this sql statement is correct?

Regards,
Pedro


Only Paranoid Survive.

Offline

#9 2012-07-06 10:54:53

indira
Member
Registered: 2012-05-09
Posts: 125

Re: value too long for type character varying(40) in Talend?

Hi Pedro,

yes correct, This is full sql query this query is  already i am using java,but how to use talend

SELECT SUBSTRING((SELECT ccev.value FROM catalog_category_entity_varchar AS ccev WHERE ccev.entity_id = cce.entity_id AND (ccev.attribute_id = 31) LIMIT 1 ),1,59) AS NAME, SUBSTRING((SELECT ccev.value FROM catalog_category_entity_varchar AS ccev WHERE ccev.entity_id = cce.entity_id AND (ccev.attribute_id = 31) LIMIT 1 ),1,30) AS VALUE, (SELECT ccev.value FROM catalog_category_entity_text AS ccev WHERE ccev.entity_id = cce.entity_id AND (ccev.attribute_id = 34) LIMIT 1 ) AS description FROM catalog_category_entity AS cce

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Installation
  •  » value too long for type character varying(40) in Talend?

Board footer

Powered by FluxBB