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

TPT: using VARDATE and empty string - response (4) by Tomas.Kalenda

$
0
0

OK, I wrote transformation, but I mean formating.
I have DATA CONNECTOR (PRODUCER) defined as delimited file with quoteddata=Y option.
NullColumns = 'Y' - zero length columns are to be NULLed
If I have in schema definition VARCHAR(10) data type, zero lenght date are NULLed and other value are propagated 1:1.
If I use VARDATE(10) FORMATIN('DD.MM.YYYY') FORMATOUT('YYYY-MM-DD') data type in schema definition, DATE values are reformated, but zero length column (NULLed) caused error.
It there ability in TPT how to propagate NULL (empty) values and use VARDATE formating functionality for other values?
Schema specific VARDATE column data type is perfect and I plan to use it. 
But without the ability to handle null values ​​is to use VARDATE very limited for us.


Viewing all articles
Browse latest Browse all 4252

Trending Articles



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