neo4j - The cypher PROFILE keyword asks for a transaction even if there is already one -


i trying profile following query on neo4j server console (community edition, version 1.9.2):

profile start ungrouped=node(1)  create (grouped{__type__:'my.package.grouped'})<-[:has_next]-(ungrouped)  match (ungrouped)-[:leaf]->(leaf)  leaf.`custom-group` groupvalue, grouped, leaf create unique (grouped)-[:group]->({__type__:'my.package.group',groupkey:'group',groupvalue:groupvalue,grouporigin:id(ungrouped)})-[:leaf]->(leaf)  return distinct grouped; 

when run above query, message

==> need transaction! 

ok, created 1 with

begin transaction ==> transaction started 

afterwards run same query again. unfortunately same message again:

==> need transaction! 

but there transaction. when type

rollback 

the transaction rolled back:

==> transaction rolled 

am doing wrong? profiling not work such kind of query design? or bug in neo4j?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -