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

Re: CTL method for CSV upload not generating Error Log file

$
0
0

Thank you for the Idea but it didn't helped.

 

I do:

hanacloud:/csv_xchange/log # cd /

hanacloud:/ # mkdir -m 777 /csv_xchange/log/

ls -l

drwxrwxrwx 2 root   root        4096 Apr 28 06:41 log

...

 

Then I run the SQL Command:

IMPORT FROM CONTROL FILE '/csv_xchange/mycontrolfile.ctl'

WITH

THREADS 10
Batch 10000

;

 

The Controlfile looks like this:

IMPORT DATA

INTO TABLE "mySchema"."MyTargettable"

FROM '/csv_xchange/mycsvfile.csv'

  RECORD DELIMITED BY '\n'

  FIELDS DELIMITED BY ','

  OPTIONALLY ENCLOSED BY '"'

ERROR LOG '/csv_xchange/log/myerrorfile.err'

 

The CSV File contains 156.020 Records, but only 156.011 Records get imported.

The Err-File gets created in the Path csv_exchange/log/ but keeps empty.

 

 

Any other suggestion?

 

Regards,

Mansur


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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