[ 
https://issues.apache.org/jira/browse/TINKERPOP-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette closed TINKERPOP-1702.
---------------------------------------
    Resolution: Won't Do

yeah - that's long gone. in general, massive batch loads (say millions of 
things) should be done with OLAP - 
http://tinkerpop.apache.org/docs/current/reference/#hadoop-gremlin and anything 
less is probably best done with a groovy script. If you want to do it from 
python i would just write a parameterized script like:

{code}
data.each {
  g.addV('name', it.name, 'age', it.age).iterate()
}
{code} 

where "data" is a parameter you pass with the script. "data" is just a 
{{List<Map>}} and the number of maps represents your batch size. Use 
sessionless requests so that Gremlin Server auto-commits. If you have further 
follow up questions, please ask them on the gremlin-users mailing list - thanks.

> BatchGraph support in Python
> ----------------------------
>
>                 Key: TINKERPOP-1702
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1702
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver
>            Reporter: Victor Genin
>
> Currently there is no support of BatchGraph in python driver, or at least so 
> it seems



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to