Hi,
I have a problem to import data to hana. I want to import data from a text file into a table. In this file, there is a column called "issued". It contains the issue data. When the data is imported, by default the type of this column is NVARCHAR. If I leave it like that, then I will have problem later in Predictive Analytics because it needs a column with timestamp type. So, I have to changed the type of this column to timestamp while importing the data. If I do so, this error appears:
Message :
Batch from record 2 to 893 failed: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]
The format of timestamp in the source column is yymmdd hh:mm:ss, like this : 940619 00:00:00. I know there are different formats to show a timestamp. But if this format is wrong, why it is like this in the original file? and how can I change the format of time stamp?
If you have any idea, it would be great if you tell me.
Best regards,
Rasoul