on 07-04-2016 10:06 AM
When I try to import the excel file (spreadsheet) into a HANA table. its not taking date datatype for date column. Herewith i attached screenshots also.
.
Error:
Batch from record 2 to 14541 failed
java.lang.IllegalArgumentException
at java.sql.Date.strict_valueOf(Date.java:174)
at java.sql.Date.valueOf(Date.java:134)
Hi Rajesh,
With error message "IllegalArgumentException" it seems like issue with your datatype for this date filed. Is it possible to share the excel details, also try to replicate the issue with trace on.
Regards,
Amit T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank for your reply, ya i will send that excel file
Hi Rajesh,
Could you please tell me what type of data you are loading to date field in HANA. Date values are in which format in excel?
Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i need to load date datatype only. myexcel have given below format. when i import excel file.its automatically taking nvarachar datatype in hana studio.
type | date_time |
Order | 01-Apr-2014 |
Order | 01-Apr-2014 |
Order | 01-Apr-2014 |
Order | 01-Apr-2014 |
Order | 01-Apr-2014 |
Order | 02-Apr-2014 |
Order | 02-Apr-2014 |
Order | 02-Apr-2014 |
Order | 03-Apr-2014 |
Order | 03-Apr-2014 |
Order | 04-Apr-2014 |
colud you please tell how to convert nvarchar to date format. i dont know how to convert.
please give me the script.
already imported date field datatype as nvarachar .i need to create time dimension by (Hour,Min,Sec,Day,Month) in sap Hana Studio. this time attribute values i have to use design studio
i can't share the excel file in this conversion. please tell me how to share that file to you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.