on 06-09-2015 1:27 PM
Hi All,
I want to load flatfile data (.csv)into SAP HANA database. I want to apply cleansing rules on data like if null then adding default value,date format etc. Please can you let me know how to achieve this.
Thanks in advance.
Thanks,
Indira
thanks for your replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Indira,
You cannot apply any transformation rules at the HANA system level. You can use tools like BODS to do these transformation rules.
As of now HANA takes only a direct raw flat file load.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Indira,
you can import a flat file into hana using below steps-
Login to SAP HANA Development - SAP HANA Studio
File
->Import
->SAP Hana Content
->Data from local file
Here you have 2 options-
1- to insert into a new table
2. you can create a table using sql command in your schema using hana sql editor and try giving the same table name for importing flat file.
(here you have an option of creating your sql table with default values acceptable that you are looking out for.)
Regards,
Saritha K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.