Page 1 of 1

modify stage truncate my string

Posted: Tue Feb 08, 2011 2:17 am
by bagus
Hi all,
i have a strange problem. i try to drop columns using modify stage. but strangely one of the varchar column i keep losing it values from 160 character to 100. like somebody put substring[0,100] to that column, only it isn't. anyone experience the same thing ?

Posted: Tue Feb 08, 2011 2:47 am
by priyadharsini
check the length of that column in the modify stage output link.

Posted: Tue Feb 08, 2011 2:52 am
by bagus
checked, same 160 nullable varchar

Posted: Tue Feb 08, 2011 3:32 am
by bagus
solved by explicitly declaring the column is 160 character in specification. thanks.