I’ve set up my app.yaml and data_uploader files as suggested in this document. My CSV file has some null values (the spreadsheet that I exported had some empty cells).
When I run the script, I get this error in the log file:
[ERROR ] Error in WorkerThread-0: Value should not be empty; received [].
My guess is that it is because some values are empty in the csv file, How can I make sure that the empty values are either imported as ” into the datastore, or not imported at all (the model properties are all optional).
Thanks, David.
You probably should customize your
bulkloader.yamlgiving the right directive in the property map section.Check if the
import_transformelement on your model kind property that gives problem is set, and try to use thenone_if_emptydirective .This is what none_if_empty does:
Afaik, bulkloader generates the bulkloader.yaml file inferring the proper configuration using the production datastore stats; just check if the assumptions made are correct.