converting a List<String> property to individual values in a CSV export from GAE
I have a list of String inside a class in my App Engine project, and in the databas开发者_C百科e export to a CSV (through bulkloader.yaml) the resulting field is the proper List. The problem is that this CSV is imported again into a MySQL database and such field remains as a single list of strings.
Any idea about how to tweak the .yaml config_file to generate a tuple for every string?
You can't make the bulkloader export multiple rows for a single entity using the YAML configuration. You'll either need to write a custom exporter, or a custom converter - see the bulkloader source for details (in the docstrings).
精彩评论