Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

Problem with import in HANA DB

$
0
0

Hi

 

A few weeks ago I have started to work with SAP HANA Cloud Platform.

I have played a bit around with the shared Hana DB.

I wanted to load a lot of data into a Table with the import command:

     IMPORT FROM CSV FILE '<path>\personen1.csv' INTO "DEV_CPU98F4VTHJ2B1TQW4W6P1MUQ"."PERSON"

     WITH

     RECORD DELIMITED BY '\n'

     FIELD DELIMITED BY ','

     ERROR LOG '<path>\personen1.bad';

I executed the Command with the SAP HANA Administration Console in eclipse.

But I got that error:

Could not execute 'IMPORT FROM CSV FILE '<path>\peronen1.csv' INTO ...'

SAP DBTech JDBC: [258]: insufficient privilege: Not authorized

 

To be sure the right table is used for the import I added the schema of the table, even though I ran the command as that user.

 

Importing the same file with File -> Import and choose SAP HANA Content -> Data From Local File in eclipse works.

 

I checked the file permissions with cygwin:

ls -lart *

-rwxrwxrwx+ 1 Administratoren None  94 10. Nov 14:19 personen1.csv

 

I read the following disscussion SAP DBTech JDBC: [258]: insufficient privilege: Not authorized and there it is metioned that import is a global privilege, is this the problem?

 

Or is it something else? Some option in eclipse that I forgot? Wrong Import stmt?


Viewing all articles
Browse latest Browse all 2823

Trending Articles