Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to import CSV file into HANA using Java?

$
0
0

Even though you can use the SAP HANA server side csv file import (just read the documentation and what you can find on data loading into SAP HANA here on SCN) there is no way to circumvent line by line parsing here.

 

The internal representation of data in SAP HANA is extremely different to a csv file.

Data gets inserted in units of rows - your lines in the file - and columns - the data between your delimiters.

 

Obviously you may employ some cleverness with the implementation (batch inserts, buffered io, multi thread file io, parallel SQL session... ) but eventually you will need to take the lines apart and assign the values to columns.

 

It's really about what you want to do.

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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