Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Writing 'time' value to a postgres database

$
0
0
Hi,

I am trying to write a time value to a postgres database where the target column is of the type 'time'. I am reading the value from another postgres table where the column is also of the type 'time' and the values are stored in the format HH:mm:ss

When I am running the transformation it always throws an exception and according to the SQL statement in the log file it is trying to enter a complete date '1970- ... 11:21:00' as value. As far as I can see there is only the data type 'Date' in Kettle available but not time. Is there any way to circumvent this and to just pass the time value to the postgres target table?

Thanks for any hint!

Bobse

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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