Thursday, July 2, 2015

Oracle GIS backend - no bulk_create?

Hi all,

I've been trying to do a bulk_create using the Oracle GIS backend (Django 1.8.2) and getting an AssertionError:

  File "C:\Users\robert.martin\Envs\ais\lib\site-packages\django\contrib\gis\db\backends\oracle\operations.py", line 248, in modify_insert_params
   
assert len(placeholders) == 1
AssertionError


In the code there's a comment: "This code doesn't work for bulk insert cases." Does anyone know of a workaround for this? I'm working with several large datasets and performance has been extremely slow.

Thanks for any advice!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/58b25d95-a3ea-40f4-8853-48966a8cc71c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment