Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/yk4A4bftfF4J.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
The process could look something like this:
1) upload the CSV as one big blob to the blobstore.
2) Start a task to process the blob.
2.1) Read a chunk of data from the blob, maybe around 100 entities worth.
2.2) Parse that data into entities, write those entities in bulk
using db.put.
2.3) Insert a new task to resume at step 2.1 where this one left off.
You'll just need to make sure you handle the cases when the data you
fetch ends with a partial record. It isn't difficult logic. You will
also want to adjust the approximate batch size you're doing in each
put based on your data (number of indexes, etc...).
Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/FSSFIhfeS4wJ.