Quantcast
Viewing all 870 articles
Browse latest View live

TPT 14.10 output to named pipe and then gzip to final files

I tried to write TPT output to named pipe, and then use gzip to compress the stream into final files.
gzip < /var/tmp/fact_abc_segment.fifo-1 > ~/data/fact_abc_segment.1.fastload.gz
gzip < /var/tmp/fact_abc_segment.fifo-8 > ~/data/fact_abc_segment.8.fastload.gz
 

EXPORT_OPERATOR: connecting sessions
EXPORT_OPERATOR: The RDBMS retryable error code list was not found
EXPORT_OPERATOR: The job will use its internal retryable error codes
FILE_WRITER: TPT19424 pmGetPos failed. Request unsupported by Access Module (24)
FILE_WRITER: TPT19424 pmGetPos failed. Request unsupported by Access Module (24)
FILE_WRITER: TPT19307 Fatal error checkpointing data.
FILE_WRITER: TPT19424 pmGetPos failed. Request unsupported by Access Module (24)
FILE_WRITER: TPT19307 Fatal error checkpointing data.
FILE_WRITER: TPT19307 Fatal error checkpointing data.
FILE_WRITER: TPT19424 pmGetPos failed. Request unsupported by Access Module (24)
FILE_WRITER: TPT19003 TPT Exit code set to 12.
FILE_WRITER: TPT19003 ECI operator ID: FILE_WRITER-6640
     !WARNING! FIFO pipe detected
**** 16:50:28 Starting to send rows to file '/var/tmp/fact_abc_segment.fifo-1'
FILE_WRITER: TPT19222 Operator instance 1 processing file '/var/tmp/fact_abc_segment.fifo-1'.
     !WARNING! FIFO pipe detected
**** 16:50:28 Starting to send rows to file '/var/tmp/fact_abc_segment.fifo-2'
     !WARNING! FIFO pipe detected
FILE_WRITER: TPT19222 Operator instance 2 processing file '/var/tmp/fact_abc_segment.fifo-2'.
     !WARNING! FIFO pipe detected
     !WARNING! FIFO pipe detected

CheckPoint No. 1 started.
MAIN_STEP            INSERT_1[0001]       Success              FILE_WRITER             8    1 CHECKPOINT-Started   16:50:30     0.0000     0.0000      65000          0                0                0    6
0     0 N Y
MAIN_STEP            INSERT_1[0002]       Success              FILE_WRITER             8    2 CHECKPOINT-Started   16:50:30     0.0000     0.0000      65000          0                0                0    6
0     0 N Y
     !ERROR! Can't position pipe
MAIN_STEP            INSERT_1[0003]       Success              FILE_WRITER             8    3 CHECKPOINT-Started   16:50:30     0.0000     0.0000      65000          0                0                0    6
0     0 N Y
     !ERROR! Can't position pipe
     NOT returning position for file=/var/tmp/fact_abc_segment.fifo-1
     !ERROR! Can't position pipe
MAIN_STEP            INSERT_1[0004]       Success              FILE_WRITER             8    4 CHECKPOINT-Started   16:50:30     0.0000     0.0000      65000          0                0                0    6
0     0 N Y
     NOT returning position for file=/var/tmp/fact_abc_segment.fifo-2

Keep getting "pmGetPos" error.

Forums: 

How to Run Fast Export

Hello All,
I am trying to run the below script in fxp:
.LOGTABLE DB.errors
.LOGON jugalDB/JBhatt,jugal
.BEGIN EXPORT
.EXPORT OUTFILE samples111
Sel top 10 * from db.table1
.END EXPORT
.LOGOFF
In the Interactive Mode i gave it as below:
fxp < fxpExample.txt
I am getting an error. This is the 1st time i am learning about FastExport. Please help me how to proceed.. THanks
 

Tags: 
Forums: 

SELECT statement in a TPT EXPORT script

Hi,
 
I am trying to export data from a sql uery to a file using TPT Export operator.
My Sql query is running fine in sql assistant but when it is run through TPT it is giving non-existent syntax errors.
I have used two single quotes wherever I have one single quote in my query.
My requirements:
1) Want a TAB delimited file
2) Union of two sql queries is to be given as input
 
Query Snippet:
 
############################################
VARCHAR SelectStmt     = '
seleSELECT    
c1,c2,
CASE WHEN c3 IS NOT NULL AND c4<>0 THEN c4
     ELSE c5
END  AS AGE
from tablea
join tableb on a.c1=b.c1
union
sel c1,c2,c4 from tableg
where c2=''abc'' ;'
############################################
Error: something is expected between c5END and AS
 
Thanks,
 

Forums: 

Backlog issue occuring when UNION ALLing multiple TPT DataConnector operators into Stream

Hi all,
 
I am encountering an unexpected situation when using multiple DataConnector operators UNION ALLed together, and would appreciate your input/suggestions.
 
I have a process that uses TPT DataConnector and TPT Stream to load files that are being continuously received.  The process is been working fine, but requires two instances of the DataConnector operator in order to prevent file read from being a bottleneck.
 
I now have the requirement of loading the files in order received.  I can accomplish this through the VigilSortField property of DataConnector, but I cannot use multiple instances when using this property.
 
In order to get around this limitation, I was hoping to achieve the same parallelism by using two distinct DataConnector operators, each processing half the files and UNION ALLing into one Stream operator.  This approach seemed to fit my situation well, since two files with different file patterns are received every 5 seconds.
 
However, I am running into an issue because one of the two files is consistently larger.  The DataConnector operator processing the larger files is consistently falling behind, and is unable to ever process its backlog.  
 
Based on the feinholz quote below, I understand that the balancing between the two operators is based on file size rather than file count, so I believe it is expected that the operator processing the larger files would process fewer files per checkpoint.

"When using multiple instances to read from multiple files, we load balance the files across the instances according to the file sizes."
http://forums.teradata.com/forum/tools/tpt-instances-how-this-works

 
However, my scenario in which files are constantly received is creating a situation in which this "larger-file" operator is never able process its backlog.  I would guess that this is occurring because whenever either DataConnecter finishes processing all files detected during its directory scan, it causes both operators to checkpoint.
 
For example:

  • Directory Scan:  DataConnector Small notices X files, DataConnector Large notices X files
  • Select Phase: DataConnector Small processes X files, DataConnector Large processes (X - R) files, leaving a remainder of R files unprocessed due to filesize-based balancing
  • Checkpoint (triggered by DataConnector Small finishing its directory scan list, even though DataConnector Large still has R files it could process)
  • --
  • Directory Scan:  DataConnector Small notices Y files, DataConnector Large notices Y + R files
  • etc -- R grows unbounded until VigilMaxFiles is exceeded and the process aborts

 
Can anyone suggest a way to resolve this issue?  Is there any setting that will change the balancing to file count rather than file size, or prevent the checkpoint from occurring until both DataConnector operators have processed their entire directory scan?
(I am using TPT 14.0, VigilMaxFiles of max of 50,000, VigilWaitTime of 1.  No -l latency_interval set on tbuild command.)
 
Thanks,
Adam

 

Forums: 

CHAR(n) CHAR SET UNICODE/LATIN define schema in 14.xx - multiply by 2 or 3

In TPT script that "USING CHARACTER SET UTF8" in 13.10
We multiply char_length() of a CHAR & VARCHAR column by 3, so for example,

  • CHAR(2) in DDL = CHAR(6) in TPT
  • VARCHAR(20) in DDL = VARCHAR(60) in TPT

It seems that in TPT 14.00 and 14.10, if we try to use UTF8, the following definition works

  • CHAR(2) CHAR SET UNICODE in DDL = CHAR(6) in TPT
  • CHAR(2) CHAR SET LATIN in DDL = CHAR(4) in TPT
  • VARCHAR(20) CHAR SET UNICODE in DDL = VARCHAR(60) in TPT
  • VARCHAR(20) CHAR SET LATIN in DDL = VARCHAR(60) in TPT

The following DDL will only work with the following TPT schema definition:

 CREATE SET TABLE tpt_data_type ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
      PRODUCT_ID INTEGER NOT NULL,
      ORDER_ID BIGINT NOT NULL,
      ORDER_DESC VARCHAR(100) CHARACTER SET UNICODE NOT CASESPECIFIC,
      STORE_CODE VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
      ACTIVE_FLAG CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC,
      UNICODE_FLAG CHAR(1) CHARACTER SET UNICODE NOT CASESPECIFIC,
      ORDER_AMT DECIMAL(15,2),
      ORDER_TIME TIMESTAMP(0),
      ORDER_STATE CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC,
      UPDATED_TS TIMESTAMP(0))
PRIMARY INDEX ( ORDER_ID ); 
USING CHARACTER SET UTF8 
DEFINE JOB EXPORT_TO_FASTLOAD_FORMAT
DESCRIPTION 'Export from ' || @SourceTableName || ' to the INDICDATA file: ' || @DataFileName
(
DEFINE SCHEMA DATA_FILE_SCHEMA
(
"PRODUCT_ID" Int,
"ORDER_ID" BigInt,
"ORDER_DESC" Varchar(300),	/* 100 x 3 */
"STORE_CODE" Varchar(60),	/* 20 x 3 */
"ACTIVE_FLAG" Char(2),		/* 1 x 2 */
"UNICODE_FLAG" Char(3),         /* 1 x 3 */
"ORDER_AMT" Decimal(15,2),
"ORDER_TIME" Timestamp(0),
"ORDER_STATE" Char(2),		/* 1 x 2 */
"UPDATED_TS" Timestamp(0)
);

  DEFINE OPERATOR EXPORT_OPERATOR
  TYPE EXPORT
  SCHEMA DATA_FILE_SCHEMA
  ATTRIBUTES
  (
  VARCHAR PrivateLogName    = @SourceTableName || '_log',
  VARCHAR TdpId             = @TdpId,
  VARCHAR UserName          = @UserName,
  VARCHAR UserPassword      = @UserPassword,
  VARCHAR QueryBandSessInfo = 'Action=TPT_EXPORT; Format=Fastload;',
  VARCHAR SpoolMode         = 'noSpool',
  INTEGER MaxDecimalDigits  = 18,
  VARCHAR DateForm          = 'INTEGERDATE',
  VARCHAR SelectStmt        = 'select * from ' || @SourceTableName  
  );

  DEFINE OPERATOR FILE_WRITER
  TYPE DATACONNECTOR CONSUMER
  SCHEMA *
  ATTRIBUTES
  (
  VARCHAR PrivateLogName   = 'indicdata_writor_log',
  VARCHAR DirectoryPath    = @DataFilePath,
  VARCHAR FileName         = @DataFileName,
  VARCHAR Format           = 'Formatted',
  VARCHAR OpenMode         = 'Write',
  VARCHAR IndicatorMode    = 'Y'
  );
  
  APPLY TO OPERATOR (FILE_WRITER[@DataFileCount])
  SELECT * FROM OPERATOR (EXPORT_OPERATOR[@NumOfReader]);
);
$ hexdump -C /var/tmp/tpt_data_type.fastload 
00000000  64 00 00 00 12 27 00 00  15 cd 5b 07 00 00 00 00  |d....'...�[.....|
00000010  19 00 44 55 4d 4d 59 20  44 45 53 43 20 e6 95 99  |..DUMMY DESC �..|
00000020  e5 ad a6 e8 ae be e8 ae  a1 20 21 04 00 53 45 41  |学设计 !..SEA|
00000030  32 59 20 e5 85 a8 bf 09  00 00 00 00 00 00 32 30  |2Y �.��.......20|
00000040  31 34 2d 30 32 2d 31 32  20 31 32 3a 31 32 3a 32  |14-02-12 12:12:2|
00000050  32 50 20 32 30 31 34 2d  30 32 2d 31 39 20 31 37  |2P 2014-02-19 17|
00000060  3a 32 37 3a 35 37 0a 64  00 00 00 19 27 00 00 45  |:27:57.d....'..E|
00000070  ef 54 07 00 00 00 00 19  00 44 55 4d 4d 59 20 44  |�T.......DUMMY D|
00000080  45 53 43 20 e5 af bb e6  89 be e9 87 91 e6 98 9f  |ESC 寻�.��..�..|
00000090  20 21 04 00 4c 41 58 33  4e 20 e5 85 8d 83 13 00  | !..LAX3N �.....|
000000a0  00 00 00 00 00 32 30 31  34 2d 30 31 2d 31 31 20  |.....2014-01-11 |
000000b0  31 31 3a 31 31 3a 31 31  57 20 32 30 31 34 2d 30  |11:11:11W 2014-0|
000000c0  32 2d 31 39 20 31 37 3a  32 37 3a 35 37 0a        |2-19 17:27:57.|
000000ce

The CHAR(n) CHAR SET LATIN behaves differently than previous version. Can someone please confirm?
 

Forums: 

fastload on linux

Hi
I have data files created on AIX-UNIX using fexp INDICATORS,  moved files to a linux server.  Fload the data files to tables fails with error on linux : 
 
**** 18:30:39 I/O Error on File Checkpoint: 42, Text: Unable to obtain
              data signature !ERROR! Unexpected data format
 
 FASTLOAD UTILITY     VERSION 14.00.00.003   PLATFORM LINUX
 any help ?
 

Forums: 

TPT job variables set at runtime

Hello, 
I have a TPT import script which gets data from a sql server database and loads it into a TD table using odbc operator and update operator. It is currently a truncate and load. I'd like to change to incremental loads using create date field from the source system, which would mean that I'd need to compare the create dates of the data in the source with the max create date of the data in the target table and just load the new data i.e. where create date in source is greater than the max create date of the data already in my target table. I can do this with two scripts but I'm wondering if it is possible with a single script, which would require getting the max date from my teradata target table (with a ddl operator) and then passing it to the odbc operator select statement with a concatenation, similar to SelectStmt = 'select * from sourcetable where create_date >  || '''' || @CreateDate || ''''.  Is this possible, or would my only option be to get the max date outside of the import script and assign it to the import script's job variable from command line or from a job variables file?
thanks,
Bill

Forums: 

TTU 13.10

Does TTU 13.10 support Teradata database v 12?  OR it supports only Teradata V13.10?

Forums: 

fast export and mload in fastload format issue - error code 2793

Greetings experts,
I am facing the below issue and need your expertise on the following.
I am fast exporting from the table samples.itemppi_bkp to a file in fastload format.  Using this file as source, inserting data to empty target table samples.itemppi_wodate through Mload utility in fastload format.  All the records are moved into UV table with error code 2,793 (Could see that the values are different in samples.itemppi_bkp and samples.itemppi_wodate.)
Here is the fast export script:

.logtable LT_itemppi_bkp;

.logon localtd/tduser,tduser;

database samples;

.begin export sessions 12;

.export outfile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_fastload.txt" format fastload ;

select L_ORDERKEY , L_PARTKEY , L_QUANTITY , L_LINESTATUS from  samples.itemppi_bkp;

.end export;

Here is the mload script:

.LOGTABLE SAMPLES.ML_ITEMPPI_wodate;
.logon localtd/tduser,tduser;

.begin import mload tables samples.itemppi_wodate;
/*errortables samples.ET_ITEMPPI SAMPLES.UV_ITEMPPI SAMPLES.WT_ITEMPPI*/;

.LAYOUT DATA_LAYOUT;
.field L_ORDERKEY * integer;
.field L_PARTKEY * integer; 
.field L_QUANTITY * decimal(15,2); 
.field L_LINESTATUS * CHAR(1); 


.dml label insert_itemppi;
insert into samples.itemppi_wodate values (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY, :L_LINESTATUS);

.import infile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_fastload.txt" 
format fastload
layout data_layout
apply insert_itemppi;
.end mload;

.logoff;

 
Mload Log:

     ========================================================================
     =                                                                      =
     =          MultiLoad Utility    Release MLOD.13.00.00.005              =
     =          Platform WIN32                                              =
     =                                                                      =
     ========================================================================
     =                                                                      =
     =     Copyright 1990-2009 Teradata Corporation. ALL RIGHTS RESERVED.   =
     =                                                                      =
     ========================================================================
**** 23:46:30 UTY2411 Processing start date: TUE FEB 25, 2014
     ========================================================================
     =                                                                      =
     =          Logon/Connection                                            =
     =                                                                      =
     ========================================================================
0001 .LOGTABLE SAMPLES.ML_ITEMPPI_wodate;
0002 .logon localtd/tduser,;
**** 23:46:30 UTY8400 Teradata Database Release: 13.00.00.12
**** 23:46:30 UTY8400 Teradata Database Version: 13.00.00.12
**** 23:46:30 UTY8400 Default character set: ASCII                         
**** 23:46:30 UTY8400 Current RDBMS has interval support
**** 23:46:30 UTY8400 Current RDBMS has UDT support
**** 23:46:30 UTY8400 Maximum supported buffer size: 1M
**** 23:46:30 UTY8400 Data Encryption supported by RDBMS server
**** 23:46:30 UTY6211 A successful connect was made to the RDBMS.
**** 23:46:30 UTY6217 Logtable 'SAMPLES.ML_ITEMPPI_wodate' has been created.
     ========================================================================
     =                                                                      =
     =          Processing Control Statements                               =
     =                                                                      =
     ========================================================================

0003 .begin import mload tables samples.itemppi_wodate;
     ========================================================================
     =                                                                      =
     =          Processing MultiLoad Statements                             =
     =                                                                      =
     ========================================================================
0004 /*errortables samples.ET_ITEMPPI SAMPLES.UV_ITEMPPI SAMPLES.WT_ITEMPPI*/;

0005 .LAYOUT DATA_LAYOUT;
0006 .field L_ORDERKEY * integer;
0007 .field L_PARTKEY * integer; 
0008 .field L_QUANTITY * decimal(15,2); 
0009 .field L_LINESTATUS * CHAR(1); 


0010 .dml label insert_itemppi;
0011 insert into samples.itemppi_wodate values (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY,
     :L_LINESTATUS);

0012 .import infile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_fastload.txt" 
     format fastload
     layout data_layout
     apply insert_itemppi;
0013 .end mload;
     ========================================================================
     =                                                                      =
     =          MultiLoad Initial Phase                                     =
     =                                                                      =
     ========================================================================
**** 23:46:30 UTY0829 Options in effect for this MultiLoad import task:
     .       Sessions:    One session per available amp.
     .       Checkpoint:  15 minute(s).
     .       Tenacity:    4 hour limit to successfully connect load sessions.
     .       Errlimit:    No limit in effect.
     .       AmpCheck:    In effect for apply phase transitions.
**** 23:46:30 UTY0817 MultiLoad submitting the following request:
     Select NULL from SAMPLES.ML_ITEMPPI_wodate where (LogType = 125) and (Seq =
     1) and (MloadSeq = 0);
**** 23:46:30 UTY0817 MultiLoad submitting the following request:
     Select NULL from SAMPLES.ML_ITEMPPI_wodate where (LogType = 120) and (Seq =
     1);
**** 23:46:32 UTY0815 MLOAD session(s) connected: 2.
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     BEGIN MLOAD samples.itemppi_wodate WITH INTERVAL;
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq, MLoadSeq)VALUES(130, 1, 10);
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     MLOAD samples.itemppi_wodate with samples.WT_itemppi_wodate errortables
     samples.ET_itemppi_wodate, samples.UV_itemppi_wodate;
     ========================================================================
     =                                                                      =
     =          MultiLoad DML Transaction Phase                             =
     =                                                                      =
     ========================================================================
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     BT;
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     USING L_ORDERKEY(INTEGER), L_PARTKEY(INTEGER), L_QUANTITY(DECIMAL(15,2)),
     L_LINESTATUS(CHAR(1)) insert into samples.itemppi_wodate values
     (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY, :L_LINESTATUS);
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq, MLoadSeq)VALUES(130, 1, 20);
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     ET;
     ========================================================================
     =                                                                      =
     =          MultiLoad Acquisition Phase                                 =
     =                                                                      =
     ========================================================================
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 23:46:32 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 23:46:33 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 23:46:34 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 23:46:35 UTY0817 MultiLoad submitting the following request:
     USING Ckpt(VARBYTE(1024)) INSERT SAMPLES.ML_ITEMPPI_wodate  (Logtype, Seq,
     MLoadSeq, MLoadImpSeq, MLoadSrcSeq, MiscInt1,MiscInt2,MiscInt3,MiscInt4,
     MiscInt5,MiscInt6,MiscInt7,MiscInt8,CkptInterval,MLoadCkpt) VALUES (110, 1,
     0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, :Ckpt);
**** 23:46:35 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 23:46:36 UTY0817 MultiLoad submitting the following request:
     USING Ckpt(VARBYTE(1024)) INSERT SAMPLES.ML_ITEMPPI_wodate  (Logtype, Seq,
     MLoadSeq, MLoadImpSeq, MLoadSrcSeq, MiscInt1,MiscInt2,MiscInt3,MiscInt4,
     MiscInt5,MiscInt6,MiscInt7,MiscInt8,CkptInterval,MLoadCkpt) VALUES (110, 1,
     1, 1, 0, 200, 200, 200, 200, 0, 0, 0, 0, 0, :Ckpt);
**** 23:46:36 UTY0826 A checkpoint has been taken, recording that end of file has been reached
     for IMPORT 1 of this MultiLoad Import task. 
**** 23:46:36 UTY1803 Import processing statistics
     .                                       IMPORT  1     Total thus far
     .                                       =========     ==============
     Candidate records considered:........         200.......         200
     Apply conditions satisfied:..........         200.......         200
     Candidate records not applied:.......           0.......           0
     Candidate records rejected:..........           0.......           0
**** 23:46:36 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 23:46:37 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0 END;
**** 23:46:38 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq, MLoadSeq)VALUES(130, 1, 30);
**** 23:46:38 UTY0817 MultiLoad submitting the following request:
     ET;
     ========================================================================
     =                                                                      =
     =          MultiLoad Application Phase                                 =
     =                                                                      =
     ========================================================================
**** 23:46:38 UTY0817 MultiLoad submitting the following request:
     EXEC MLOAD samples.itemppi_wodate;
**** 23:46:39 UTY0818 Statistics for table samples.itemppi_wodate:
        Inserts:            0
        Updates:            0
        Deletes:            0
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq) VALUES (115, 1)
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     END MLOAD;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq) VALUES (120, 1)
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     USING Ckpt(VARBYTE(1024)) INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq,
     MLoadCkpt)VALUES(135, 1, :Ckpt);
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     END TRANSACTION;
     ========================================================================
     =                                                                      =
     =          MultiLoad Task Cleanup                                      =
     =                                                                      =
     ========================================================================
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     SELECT COUNT(*) FROM samples.ET_itemppi_wodate;
**** 23:46:39 UTY0821 Error table samples.ET_itemppi_wodate is EMPTY, dropping table.
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq, MLoadSeq)VALUES(125, 1, 1)
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     DROP TABLE samples.ET_itemppi_wodate;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     END TRANSACTION;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     SELECT COUNT(*) FROM samples.UV_itemppi_wodate;
**** 23:46:39 UTY0820 Error table samples.UV_itemppi_wodate contains 200 rows.
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq, MLoadSeq)VALUES(125, 1, 3)
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     DROP TABLE samples.WT_itemppi_wodate;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     END TRANSACTION;
**** 23:46:39 UTY0825 Error table statistics for: 

     Target table 1: samples.itemppi_wodate
     Number of Rows  Error Table Name
     ==============  ========================================================
                  0  samples.ET_itemppi_wodate
                200  samples.UV_itemppi_wodate

**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     USING Ckpt(VARBYTE(1024)) INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq,
     MLoadCkpt)VALUES(140, 1, :Ckpt);
**** 23:46:39 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_wodate (LogType, Seq) VALUES (125, 1)
**** 23:46:40 UTY0817 MultiLoad submitting the following request:
     END TRANSACTION;
**** 23:46:41 UTY0822 MultiLoad processing complete for this MultiLoad import task.
     ========================================================================
     =                                                                      =
     =          MultiLoad Task Complete                                     =
     =                                                                      =
     ========================================================================
     ========================================================================
     =                                                                      =
     =          Processing Control Statements                               =
     =                                                                      =
     ========================================================================

0014 .logoff;
     ========================================================================
     =                                                                      =
     =          Logoff/Disconnect                                           =
     =                                                                      =
     ========================================================================
**** 23:46:41 UTY6216 The restart log table has been dropped.
**** 23:46:41 UTY6212 A successful disconnect was made from the RDBMS.
**** 23:46:41 UTY2410 Total processor time used = '1.21681 Seconds'
     .       Start : 23:46:29 - TUE FEB 25, 2014
     .       End   : 23:46:41 - TUE FEB 25, 2014
     .       Highest return code encountered = '0'.

 
Target table structure:

CREATE SET TABLE Samples.ITEMPPI_wodate 

     (

      L_ORDERKEY INTEGER,

      L_PARTKEY INTEGER,

      L_QUANTITY DECIMAL(15,2),

      L_LINESTATUS CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC)

PRIMARY INDEX ( L_ORDERKEY );

 

The target and source table structure are same except that the source table has one extra date column, indeed which have't been fast exported.

 

Sample source data:

L_ORDERKEY

L_PARTKEY

L_QUANTITY

L_LINESTATUS

L_SHIPDATE

225

1,352

34

O

8/4/1995

257

352

12

O

5/30/1998

258

1,984

21

F

4/21/1994

291

332

3

F

5/10/1994

 

Sample data in UV table:

L_ORDERKEY

L_PARTKEY

L_QUANTITY

L_LINESTATUS

ImportSeq

DMLSeq

SMTSeq

ApplySeq

SourceSeq

Uniqueness

DBCErrorCode

DBCErrorField

57,600

346,112

8,704.00

 

1

1

1

1

197

0

2,793

 

65,792

90,112

3,072.00

 

1

1

1

1

25

0

2,793

 

66,048

507,904

5,376.00

 

1

1

1

1

68

0

2,793

 

74,496

84,992

768

 

1

1

1

1

37

0

2,793

 

91,904

239,616

9,216.00

 

1

1

1

1

73

0

2,793

 

 

Awaiting your valuable responses.

Forums: 

Load rows of data from teradata tables to mysql tables

Hi ,
    We have an situation where in  we need to load rows of data from teradata tables to mysql tables
any hint on how i could start with it?
canfastexport(or any other utility) help?
 
Thank you in advance :)

Forums: 

SHOW table/View issue in Teradata SQL Assistant 13 Java version

Hi,
When i execute show view or show table in my newly installed teradata SQL assistant 13 Java version tool. The DDL (result set ) for the query is not displayed, the save to file option is also giving only the truncated data.
Kindly help me to modify the settings to obtain the full DDL of the objects.
Thanks in advance.
--Arun

Tags: 
Forums: 

Teradata Parallel Transporter - Session Character Set

Hi All
I am creating a TPT script to load some characters into table. I know if I set the session character set to UTF8 it will get loaded. But I am unable to set the session character set to UTF8 using my TPT script. 
I tried saving the ".txt" file of my TPT script as UTF-8 format and used "USING CHARATER SET UTF8" before DEFINE JOB along with "tbuild -e utf8" option. But it is giving me error RDBMS Error 6705 : An illegally formed character string was encountered during translation.
Am I doing any thing wrong or is there any thing else which I am missing?
Experts, please let me know your answers.
Thanks
Santanu

Forums: 

tdload having issues loading data where the delimiter is part of a field

Hi,
I am trying to load a file with sample content like below, where the delimiter is comma(,) and have one of the field which actually contains a comma. The Source team has sent the data set by including such fields in quotes (""). I tried loading using tdload of version 13, but it failed.
Ex: 

ABC,New york,20-02-2013,"hello,world"

I will try to share the error message soon.
Thanks,
Manjeeth
 

Tags: 
Forums: 

Fast export and mload in vartext mode - Data item too large for field issue

Greetings experts,
I am facing the following issue in TD Demo version 13.0 , windows 7
Scenario:  Fast exporting from a table samples.itemppi_bkp in "mode record format text" (vartext separated by ,) and then using this file as source for mloading into target table samples.itemppi_wodate.  
After completion of fast export, and then while running MLOAD, the job is failing with the following error 

**** 02:16:06 UTY4016 Data item too large for field L_LINESTATUS in vartext record number 1.

**** 02:16:06 UTY1803 Import processing statistics

 

When I viewed the fast exported file through HXD editor, could see 2 entirely blank lines.  Can you please explain how to overcome this.  Gone through other posts, and could find that TPT could easily export data in vartext form, but I am trying them through fastexport and multiload.

 

Here are the details:

Source / Target table structure:

CREATE SET TABLE samples.itemppi_wodate 

     (

      L_ORDERKEY INTEGER,

      L_PARTKEY INTEGER,

      L_QUANTITY DECIMAL(15,2),

      L_LINESTATUS CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC)

PRIMARY INDEX ( L_ORDERKEY );

 

Fast export script:

.logtable LT_itemppi_wodate;

.logon localtd/tduser,tduser;

database samples;

.begin export sessions 12;

.export outfile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_vartext.txt"  mode record format text;


select CAST (trim(CAST (L_ORDERKEY AS CHAR(12))) || ',' || trim(CAST(L_PARTKEY AS CHAR(12))) || ',' || trim(CAST(L_QUANTITY AS CHAR(20))) || ',' ||
trim(CAST(L_LINESTATUS AS CHAR(1))) AS CHAR(48)) from
samples.itemppi_bkp where L_ORDERKEY=225; 

.end export;

Exported file data:
225,1352,34.00,O                                
Following is the output of the file when opened in HXD editor.
32 32 35 2C 31 33 35 32 2C 33 34 2E 30 30 2C 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0D 0A
 
Mload script:

.LOGTABLE SAMPLES.ML_ITEMPPI_WODATE;
.logon localtd/tduser,tduser;

.begin import mload tables samples.itemppi_wodate;
/*errortables samples.ET_ITEMPPI SAMPLES.UV_ITEMPPI SAMPLES.WT_ITEMPPI*/;

.LAYOUT DATA_LAYOUT;

.field L_ORDERKEY * varchar(12);
.field L_PARTKEY * varchar(12); 
.field L_QUANTITY * varchar(20); 
.field L_LINESTATUS * varCHAR(1); 


.dml label insert_itemppi;
insert into samples.itemppi_wodate values (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY, :L_LINESTATUS);

.import infile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_vartext.txt" 
format vartext ','
layout data_layout
apply insert_itemppi;
.end mload;

.logoff;

 
Mload log:

     ========================================================================
     =                                                                      =
     =          MultiLoad Utility    Release MLOD.13.00.00.005              =
     =          Platform WIN32                                              =
     =                                                                      =
     ========================================================================
     =                                                                      =
     =     Copyright 1990-2009 Teradata Corporation. ALL RIGHTS RESERVED.   =
     =                                                                      =
     ========================================================================
**** 02:16:03 UTY2411 Processing start date: THU FEB 27, 2014
     ========================================================================
     =                                                                      =
     =          Logon/Connection                                            =
     =                                                                      =
     ========================================================================
0001 .LOGTABLE SAMPLES.ML_ITEMPPI_WODATE;
0002 .logon localtd/tduser,;
**** 02:16:03 UTY8400 Teradata Database Release: 13.00.00.12
**** 02:16:03 UTY8400 Teradata Database Version: 13.00.00.12
**** 02:16:03 UTY8400 Default character set: ASCII                         
**** 02:16:03 UTY8400 Current RDBMS has interval support
**** 02:16:03 UTY8400 Current RDBMS has UDT support
**** 02:16:03 UTY8400 Maximum supported buffer size: 1M
**** 02:16:03 UTY8400 Data Encryption supported by RDBMS server
**** 02:16:03 UTY6211 A successful connect was made to the RDBMS.
**** 02:16:03 UTY6217 Logtable 'SAMPLES.ML_ITEMPPI_WODATE' has been created.
     ========================================================================
     =                                                                      =
     =          Processing Control Statements                               =
     =                                                                      =
     ========================================================================

0003 .begin import mload tables samples.itemppi_wodate;
     ========================================================================
     =                                                                      =
     =          Processing MultiLoad Statements                             =
     =                                                                      =
     ========================================================================
0004 /*errortables samples.ET_ITEMPPI SAMPLES.UV_ITEMPPI SAMPLES.WT_ITEMPPI*/;

0005 .LAYOUT DATA_LAYOUT;

0006 .field L_ORDERKEY * varchar(12);
0007 .field L_PARTKEY * varchar(12); 
0008 .field L_QUANTITY * varchar(20); 
0009 .field L_LINESTATUS * varCHAR(1); 


0010 .dml label insert_itemppi;
0011 insert into samples.itemppi_wodate values (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY,
     :L_LINESTATUS);

0012 .import infile "G:\Users\cheeli\Desktop\fexp_out\fexp_itemppi_vartext.txt" 
     format vartext ','
     layout data_layout
     apply insert_itemppi;
0013 .end mload;
     ========================================================================
     =                                                                      =
     =          MultiLoad Initial Phase                                     =
     =                                                                      =
     ========================================================================
**** 02:16:03 UTY0829 Options in effect for this MultiLoad import task:
     .       Sessions:    One session per available amp.
     .       Checkpoint:  15 minute(s).
     .       Tenacity:    4 hour limit to successfully connect load sessions.
     .       Errlimit:    No limit in effect.
     .       AmpCheck:    In effect for apply phase transitions.
**** 02:16:03 UTY0817 MultiLoad submitting the following request:
     Select NULL from SAMPLES.ML_ITEMPPI_WODATE where (LogType = 125) and (Seq =
     1) and (MloadSeq = 0);
**** 02:16:03 UTY0817 MultiLoad submitting the following request:
     Select NULL from SAMPLES.ML_ITEMPPI_WODATE where (LogType = 120) and (Seq =
     1);
**** 02:16:04 UTY0815 MLOAD session(s) connected: 2.
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     BEGIN MLOAD samples.itemppi_wodate WITH INTERVAL;
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_WODATE (LogType, Seq, MLoadSeq)VALUES(130, 1, 10);
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     MLOAD samples.itemppi_wodate with samples.WT_itemppi_wodate errortables
     samples.ET_itemppi_wodate, samples.UV_itemppi_wodate;
     ========================================================================
     =                                                                      =
     =          MultiLoad DML Transaction Phase                             =
     =                                                                      =
     ========================================================================
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     BT;
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     USING L_ORDERKEY(VARCHAR(12)), L_PARTKEY(VARCHAR(12)),
     L_QUANTITY(VARCHAR(20)), L_LINESTATUS(VARCHAR(1)) insert into
     samples.itemppi_wodate values (:L_ORDERKEY, :L_PARTKEY, :L_QUANTITY,
     :L_LINESTATUS);
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     INS SAMPLES.ML_ITEMPPI_WODATE (LogType, Seq, MLoadSeq)VALUES(130, 1, 20);
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     ET;
     ========================================================================
     =                                                                      =
     =          MultiLoad Acquisition Phase                                 =
     =                                                                      =
     ========================================================================
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     BEGIN TRANSACTION;
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 02:16:04 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 02:16:05 UTY0817 MultiLoad submitting the following request:
     CHECKPOINT LOADING INTERVAL 0;
**** 02:16:06 UTY0817 MultiLoad submitting the following request:
     USING Ckpt(VARBYTE(1024)) INSERT SAMPLES.ML_ITEMPPI_WODATE  (Logtype, Seq,
     MLoadSeq, MLoadImpSeq, MLoadSrcSeq, MiscInt1,MiscInt2,MiscInt3,MiscInt4,
     MiscInt5,MiscInt6,MiscInt7,MiscInt8,CkptInterval,MLoadCkpt) VALUES (110, 1,
     0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, :Ckpt);
**** 02:16:06 UTY4016 Data item too large for field L_LINESTATUS in vartext record number 1.
**** 02:16:06 UTY1803 Import processing statistics
     .                                       IMPORT  1     Total thus far
     .                                       =========     ==============
     Candidate records considered:........           0.......           0
     Apply conditions satisfied:..........           0.......           0
     Candidate records not applied:.......           0.......           0
     Candidate records rejected:..........           0.......           0
     ========================================================================
     =                                                                      =
     =          Logoff/Disconnect                                           =
     =                                                                      =
     ========================================================================
**** 02:16:08 UTY6212 A successful disconnect was made from the RDBMS.
**** 02:16:08 UTY2410 Total processor time used = '0.483603 Seconds'
     .       Start : 02:16:03 - THU FEB 27, 2014
     .       End   : 02:16:08 - THU FEB 27, 2014
     .       Highest return code encountered = '12'.

 

Awaiting your valuable responses.

Forums: 

Error in FastLoad Script

Hi All,
 
Below is the script for the fastload:
.LOGON home/jbhatt,jugal;
BEGIN LOADING DB.tables1
ERRORFILES ERR1,ERR2;
DEFINE col1 (VARCHAR(50)),
        col2 (VARCHAR(50)) 
FILE= /home/jugal/finsert.txt;
insert into DB.tables1 values(:col1,:col2);
END LOADING;
LOGOFF;
 When i ran the script i got the below error in the logs:
  ===================================================================
     =                                                                 =
     =          FASTLOAD UTILITY     VERSION 14.00.00.07               =
     =          PLATFORM LINUX                                         =
     =                                                                 =
     ===================================================================
     ===================================================================
     =                                                                 =
     =          Copyright 1984-2012, Teradata Corporation.             =
     =          ALL RIGHTS RESERVED.                                   =
     =                                                                 =
     ===================================================================
**** 10:25:58 Processing starting at: Fri Feb 28 10:25:58 2014
     ===================================================================
     =                                                                 =
     =          Logon/Connection                                       =
     =                                                                 =
     ===================================================================
0001 .LOGON home/Jbhatt,
**** 10:25:59 Teradata Database Release: 14.00.05.02
**** 10:25:59 Teradata Database Version: 14.00.05.03
**** 10:25:59 Number of AMPs available: 96
**** 10:25:59 Current CLI or RDBMS allows maximum row size: 64K
**** 10:25:59 Character set for this job: ASCII

0002 BEGIN LOADING DB.tables1
     ERRORFILES ERR1,ERR2;
**** 10:25:59 Session count 16 returned by the DBS overrides
              user-requested session count
**** 10:26:03 Number of FastLoad sessions connected = 16
**** 10:26:03 FDL4808 LOGON successful
**** 10:26:03 FastLoad is continuing a multifile job
**** 10:26:03 Number of AMPs available: 96
**** 10:26:03 BEGIN LOADING COMPLETE
0003 DEFINE col1 (VARCHAR(50)),
             col1 (VARCHAR(50))
     FILE= /home/jugal/finsert.txt;
**** 10:26:03 FDL4803 DEFINE statement processed
     ===================================================================
     =                                                                 =
     =          Insert Phase                                           =
     =                                                                 =
     ===================================================================
0004 insert into DB.tables1 values(:col1,:col2);
**** 10:26:03 I/O Error on File Checkpoint: 42, Text: Unable to obtain
              data signature Unexpected data format !ERROR! EOF
              encountered before expected EOR
     ===================================================================
     =                                                                 =
     =          Logoff/Disconnect                                      =
     =                                                                 =
     ===================================================================
**** 10:26:03 Logging off all sessions
**** 10:26:05 Total processor time used = '1.86 Seconds'
     .        Start : Fri Feb 28 10:25:58 2014
     .        End   : Fri Feb 28 10:26:05 2014
     .        Highest return code encountered = '12'.
**** 10:26:05 FastLoad Paused
I think i am not inserting the data from the test properly.
Please Help me with the error.

Tags: 
Forums: 

Issue with SQL assistant

I have installed TD 13 demo version on my machine. When I run teradata service control, I get the expected status message "Teradata is running". When I connect to databse using BTEQ, I am able to connect successfully and run queries. However, when I try to run SQL assistant, the connection times out and PDE state changes to RESET/PDEDUMP. If I try to log in next time I get the error message "Teradata sever can't be reached over the network". Could you please suggest me solution for this? Thank you in advance.

Forums: 

Data mover 14.xx pool of users

Hi..
 
Our Data mover(DM) jobs are using  a pool of users for data mover arcmain and tptapi. Assume a scenario , DM has launched multiple tptapi sessions with username "john"(avalable from the user pool). Now another DM job runs in parallel and launches a arcmain, is there a possibility of DM job launching arcmain to pick up "john"? or will it up other pool of users available?
Based on the documentation, the dm jobs picks up unique user id when several DM arcmain jobs are running in parallel. I would like to confirm if the same mechanism applies   if DM tptapi and DM arcmain jobs runs in parallel.
 
Thanks in Advance!
 
 

Forums: 

Fast Export parallelism

Hi,
I am successfully exporting with fast export tool. However I am not sure about parallelism of export.
From fastexport logs I have:
**** 13:49:28 UTY8715 FastExport is submitting the following request:
     CHECK WORKLOAD END;
**** 13:49:28 UTY0844 Session count 8 returned by the DBS overrides
     user-requested session count.
**** 13:49:36 UTY8705 EXPORT session(s) requested: 8.
**** 13:49:36 UTY8706 EXPORT session(s) connected: 8.
**** 13:49:36 UTY8715 FastExport is submitting the following request:
     BT;BEGIN FASTEXPORT;
 
But when I am viewing in Viepoint, I see 8 connections. 7 connections are idle, but 1 connection is in transfering state <->
I would rather expect all 8 connections to be transferring <-> , but as I am not teradata expert, I d like to have answer from
advanced users.
 
Any explanation?
 
Regards,
Pitr

Forums: 

BTEQ losing header comments of view definitions

Hi,
is there any way to preserve header comments when sending a REPLACE VIEW with BTEQ?
In my scenario, I clone database structures from one system to another. I use BTEQ from a shell or perl scripts to run 'SHOW <object>;' for all objects in the databases, dumping the definitions to .sql files on disk. Then I run those SQL files on the target system, again using BTEQ from shell or perl scripts.
This works fine for making exact one-to-one copies for all kind of objects (functions and procedures are a little bit tricky).
But for views there is a problem: I lose header comments when I send the view definition using BTEQ.
Consider this sample view definition, correctly dumped to a .sql file:

/*
    Header comment:
    This is a test view.
*/
REPLACE VIEW SampleDB.TestView AS
LOCKING ROW FOR ACCESS
SELECT *
FROM DBC.TablesV;

 
If I copy the text to SQL Assistant, send it to the database, and then do a SHOW VIEW, I get the expected (and correct) result:

show view SampleDB.TestView;
show view SampleDB.TestView;

/*
    Header comment:
    This is a test view.
*/
REPLACEVIEW SampleDB.TestView AS
LOCKINGROWFORACCESS
SELECT *
FROM DBC.TablesV;

But if I run the sql file with BTEQ, it first nicely tells me that it replaced the view:

/*
    Header comment:
    This is a test view.
*/
REPLACE VIEW SampleDB.TestView AS
LOCKING ROW FOR ACCESS
SELECT *
FROM DBC.TablesV;
*** View has been replaced.
*** Total elapsed time was 1 second.
 

But doing a SHOW VIEW in SQL Assistant reveals that the header comments got lost:

show view SampleDB.TestView;
REPLACEVIEW SampleDB.TestView AS
LOCKING ROW FOR ACCESS
SELECT
*
FROM DBC.TablesV;

I suppose that BTEQ doesn't include the leading comment in the Teradata request sent to the database system.
Is there a way to tell BTEQ to include the comments?
Or does anyone have an other idea how I can retain the header comments from a scripting environment (i.e. not using SQL Assistant interactively)?
Thanks a lot!
Matthias

 

Forums: 

TPT_INFRA: TPT03586: Warning: the rightmost 63990 characters (bytes) of the values of column Col1 will be truncated on a

Hi, can anyone help with this issue. User's job is failing with the following warnings.
TPT_INFRA: TPT03586: Warning: the rightmost 63990 characters (bytes) of the values of column Col1 will be truncated on assignment.
TPT_INFRA: TPT03586: Warning: the rightmost 63985 characters (bytes) of the values of column Col2 will be truncated on assignment.
TPT_INFRA: TPT03586: Warning: the rightmost 63995 characters (bytes) of the values of column Col3 will be truncated on assignment.
TPT_INFRA: TPT03586: Warning: the rightmost 63995 characters (bytes) of the values of column Col4 will be truncated on assignment.
.
.
.
TPT_INFRA: TPT03586: Warning: the rightmost 63997 characters (bytes) of the values of column Col5 will be truncated on assignment.
.Teradata Parallel Transporter FastLoad INMOD Adapter Version 13.10.00.13
Teradata Parallel Transporter Load Operator Version 13.10.00.04
W_O_1_TPT_LOAD_INMOD: private log not specified
W_O_1_TPT_LOAD_INMOD: connecting sessions
W_O_1_TPT_LOAD_INMOD: preparing target table
W_O_1_TPT_LOAD_INMOD: entering Acquisition Phase
W_O_1_TPT_LOAD_INMOD: entering Application Phase
W_O_1_TPT_LOAD_INMOD: Statistics for Target Table:  'TABLE_X'
W_O_1_TPT_LOAD_INMOD: Total Rows Sent To RDBMS:      6264
W_O_1_TPT_LOAD_INMOD: Total Rows Applied:            6264
W_O_1_TPT_LOAD_INMOD: disconnecting sessions

The warnings are on every column of the table and as you can see from table DDL, the cols are very small in terms of length
CREATE SET TABLE TABLE_X ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL,
     CHECKSUM = DEFAULT,
     DEFAULT MERGEBLOCKRATIO
     (
      COL1 CHAR(10) CHARACTER SET LATIN CASESPECIFIC,
      COL2 CHAR(15) CHARACTER SET LATIN CASESPECIFIC,
      COL3 CHAR(5) CHARACTER SET LATIN CASESPECIFIC,
      COL4 CHAR(3) CHARACTER SET LATIN CASESPECIFIC,
      COL5 CHAR(1) CHARACTER SET LATIN CASESPECIFIC,
      COL6 CHAR(10) CHARACTER SET LATIN CASESPECIFIC,
      COL7 CHAR(3) CHARACTER SET LATIN CASESPECIFIC,
      COL8 CHAR(6) CHARACTER SET LATIN CASESPECIFIC,
      COL9 DATE FORMAT 'YYYY-MM-DD' COMPRESS ,
      COL10 CHAR(6) CHARACTER SET LATIN CASESPECIFIC,
      COL11 DECIMAL(18,4),
      COL12 CHAR(8) CHARACTER SET LATIN CASESPECIFIC,
      COL13 DECIMAL(18,4),
      COL14 CHAR(8) CHARACTER SET LATIN CASESPECIFIC,
      COL15 DECIMAL(18,4),
      COL116 CHAR(1) CHARACTER SET LATIN CASESPECIFIC)
PRIMARY INDEX ( COL1 );
 
Thanks in advance

Forums: 
Viewing all 870 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>