Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question LOAD Rdbms To Teradata (with multiload)

More
04 Sep 2015 16:11 #1 by Kalina
Kalina created the topic: LOAD Rdbms To Teradata (with multiload)
Hello,

In the case when UNICODE column is used in RDBMS, load table during step called 'Creation of load table' is created with LATIN fields anyway, so mload errors occur.

We've found that current expression to generate load table DDL is:
create  MULTISET  table %x{md:physicalPath($REF,'workName')}x%
(
	%x{md:patternList($REF/ref:columns(),'[workName]\t[targetWritableType] [targetNullWord]',',\n\t')}x%	
	%x{if ($REF/tech:hasCdc()) then ', CDC_CHANGE_TYPE CHAR(1)' else ''}x%
) 
PRIMARY INDEX ( %x{md:list($targetPI/col/@workName,', ')}x% )

Is there a way to generate 'CHARACTER SET...' additionally if field type is CHAR or VARCHAR? How can we edit this expression to achieve it? Unfortunately, we haven't found any documentation on that issue and column attributes.

Thank you in advance.
More
04 Sep 2015 18:07 #2 by Thomas BLETON
Thomas BLETON replied the topic: LOAD Rdbms To Teradata (with multiload)
Hi, I can't find this expression in my Teradata templates.
Was it modified on your side ?
Note : Templates are components that you can duplicate and edit at will.