Quantcast
Channel: Teradata Forums - Tools
Viewing all articles
Browse latest Browse all 4252

TPT load failure on Interval datatype - Error code 7452 - forum topic by ssavoye

$
0
0

Any assistance would be welcomed.  I cannot seem to put the Interval in a format that Teradata likes.  The column data looks like "00 02:00:00.000000".  We are extracting it from ORacle and loading to Teradata version 15.10.  I am able to load most other data types no problem, but I cannot find the format needed to make this happy.
Problem column is "DELAY_INTERVAL     INTERVAL DAY(2) TO SECOND(6)" below.
Table is defined as such:
 
CREATE MULTISET TABLE DB1.PROBLEM_TABLE (
      STREAM_TAG            VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
      DELAY_INTERVAL      INTERVAL DAY(2) TO SECOND(6),
      CODE_TAG                VARCHAR(100) CHARACTER SET LATIN NOT CASESPECIFIC)
NO PRIMARY INDEX ;
 
Data row looks like (delimitter is pipe here):  TAGDATAYADAYADA|+00 02:00:00.000000|MORE TAGDATAYADAYADA
 
Both BTEQ and TPT Fail with:
 
TPT:   (all going to Error table with Invalid DELAY_INTERVAL column - Errorcode 7452 on every row.
$LOAD: Total Rows Sent To RDBMS:      17
$LOAD: Total Rows Applied:            0
$LOAD: Total Rows in Error Table 1:   17
$LOAD: Total Rows in Error Table 2:   0
$LOAD: Total Duplicate Rows:          0
BTEQ:
 *** Warning: Out of data.
 *** Failure 7452 Invalid interval.
                Statement# 1, Info =0
 *** Total elapsed time was 1 second.
 
Thanks
 

Forums: 

Viewing all articles
Browse latest Browse all 4252

Trending Articles



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