I'm trying to import a CSV into my table in my trial (HCP) account.
Trying to load it from my local machine with:
IMPORT FROM CSV FILE 'C:/Users/.../data.csv' INTO "NEO_123..."."MYTABLE" WITH RECORD DELIMITED BY '\n' FIELD DELIMITED BY ',';
results in the following error:
Could not execute 'IMPORT FROM CSV FILE 'C:/Users/.../data.csv' INTO ...'
SAP DBTech JDBC: [258]: insufficient privilege: Not authorized
As stated here: Importing CSV files into SAP HANA - In-Memory Business Data Management - SCN Wiki (Step 4), the file needs to be uploaded to a server.
With
SELECT * FROM SYSTEM.FTP_SERVER
I can get the URL and the login details. But doing so I get the following error:
Could not execute 'SELECT * FROM SYSTEM.FTP_SERVER'
SAP DBTech JDBC: [259]: invalid table name: Could not find table/view FTP_SERVER in schema SYSTEM: line 1 col 22 (at pos 21)
So how can I upload my CSV onto a server (e.g. Dropbox)?
I don't want to use the Import-dialog, but do it programatically.