Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Table partitioning on TIMESTAMP(3) in Teradata 13 - response (12) by AshishPatil

$
0
0

Hi,
 
We are on TD 13.10.
We implemented PPI on timestamp column with below syntax,
CREATE SET TABLE .....
.
.
.
 

UNIQUE PRIMARY INDEX ( DATASOURCE_NUM_ID ,INTEGRATION_ID ,X_ORDER_TYPE ,X_INVC_DT )

PARTITION BY(RANGE_N(CAST((X_INVC_DT) AS DATE AT LOCAL) BETWEEN '2000-01-01' AND '2020-12-31' EACH INTERVAL '1' MONTH,

 NO RANGE OR UNKNOWN),

CASE_N(

X_ORDER_TYPE =  'Order1',

X_ORDER_TYPE =  'Order2',

X_ORDER_TYPE =  'Order_T,

 NO CASE, UNKNOWN) )

 

So, in Informatica jobs in order to use MLOAD on this table, we have to make all PPI columns i.e. ( DATASOURCE_NUM_ID ,INTEGRATION_ID ,X_ORDER_TYPE ,X_INVC_DT ) as primary key(Also PPI must be Unique).

 

 

But while running job with MLOAD Update, received TD 6760 error i.e."Invalid Timestamp".

 

I think there is some issue with date column on which we created partition.

 

Kindly suggest how to overcome this error?

 

Regards,

Ashish


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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