I'm using python script do upload some data to my app engine backend.
Here is it's definition in bulkloader.yaml
- kind: Subcategory
connector: csv
connector_options:
encoding: utf-8
property_map:
- property: __key__
external_name: id
export_transform: transform.key_id_or_name_as_string
import_transform: transform.none_if_empty(int)
- property: name
external_name: name
- property: categoryId
external_name: categoryId
export_transform: transform.key_id_or_name_as_string
import_transform: transform.none_if_empty(int)
- property: language
external_name: language
- property: active
external_name: active
import_transform: bool
The problem is, that column active is dynamically changing later, and next time I upload the same data again it's being replaced with false because, column doesn't exist in csv.
I tried removing the column from bulkloader, but then the columns just dissapears. It's probably because entities are replaced and not updated. Is there a way to preserve already existing columns without replacing/deleting them when uploading?