Hi, im trying to upload a CSV to a RedShift database using GetFile->PutDatabaseRecord
i'm getting this error:
CSVReader (my file got headers, this way and not hardcoding the schema makes everything more easily scalable):
Null string: NULL
Table with same fields names.
Any idea what i'm doing wrong? Is there any way to look for the query it's making, that will make this more easy to debug.
Solved, PutDatabaseRecord gives you mapping error if the table doesn't exists or if you don't have permissions, hours fighting against the columns names and it was a database problem.
View solution in original post