Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Cannot insert NULL or update to NULL

$
0
0

I'm trying to insert data from a CSV file. It is about 1M rows and after running the INSERT FROM there are about 100k rows missing and the error log reports them as "cannot insert NULL or update to NULL". However, the columns which are empty in the CSV file are not declared as "NOT NULL".

 

When I take the error log, edit out the error message and try to insert all of them again, about 4000 of the rows are successfully inserted, the rest is again reported as bad. When I repeat the same once again, I get the error

 

hdbsql DCB=> import from csv file '/dropbox/P1717/f3.csv' into fe_document with threads 10 batch 10000 table lock record delimited by '\n' field delimited by '<#>' error log '/dropbox/P1717/err.txt'

* 129: transaction rolled back by an internal error: merge delta index error:  [

2450] error during merge of delta index occurred SQLSTATE: 40000

 

Looks like a problem to me...

 

Cheers,

 

-- Micha


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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