Buffers all SPARQL UPDATE operation for DELETE/INSERT in order to avoid this problem. This is quite heavy but RocksDB transaction already stay in memory, hence it won't change a lot the operation complexity. The unit test for this problem was bad because the optimizer was hiding the problem.pull/307/head
parent
b7059d07e8
commit
6b02ac3c10
@ -1,3 +1,3 @@ |
||||
PREFIX ex: <http://example.com/> |
||||
INSERT DATA { ex:s ex:salary 1200 . ex:s2 ex:salary 1250 . ex:boss ex:salary 1600 . }; |
||||
INSERT DATA { ex:s ex:salary 1200 . ex:s2 ex:salary 1250 . ex:s3 ex:salary 1280 . ex:boss ex:salary 1600 . }; |
||||
DELETE { ?s ex:salary ?o } INSERT { ?s ex:salary ?v } WHERE { ?s ex:salary ?o FILTER(?o < 1500) BIND(?o + 100 AS ?v) } |
||||
|
Loading…
Reference in new issue