{"action":"created","issue":{"url":"https://api.github.com/repos/opencypher/openCypher/issues/221","repository_url":"https://api.github.com/repos/opencypher/openCypher","labels_url":"https://api.github.com/repos/opencypher/openCypher/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/opencypher/openCypher/issues/221/comments","events_url":"https://api.github.com/repos/opencypher/openCypher/issues/221/events","html_url":"https://github.com/opencypher/openCypher/issues/221","id":222637034,"number":221,"title":"Unobservable behavior in TCK test","user":{"login":"zsambek","id":14273578,"avatar_url":"https://avatars0.githubusercontent.com/u/14273578?v=4","gravatar_id":"","url":"https://api.github.com/users/zsambek","html_url":"https://github.com/zsambek","followers_url":"https://api.github.com/users/zsambek/followers","following_url":"https://api.github.com/users/zsambek/following{/other_user}","gists_url":"https://api.github.com/users/zsambek/gists{/gist_id}","starred_url":"https://api.github.com/users/zsambek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsambek/subscriptions","organizations_url":"https://api.github.com/users/zsambek/orgs","repos_url":"https://api.github.com/users/zsambek/repos","events_url":"https://api.github.com/users/zsambek/events{/privacy}","received_events_url":"https://api.github.com/users/zsambek/received_events","type":"User","site_admin":false},"labels":[{"id":174344613,"url":"https://api.github.com/repos/opencypher/openCypher/labels/question","name":"question","color":"cc317c","default":true},{"id":333658754,"url":"https://api.github.com/repos/opencypher/openCypher/labels/TCK","name":"TCK","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-04-19T06:51:41Z","updated_at":"2017-07-28T22:13:54Z","closed_at":null,"body":"As a university project (under the supervision of @szarnyasg and @jmarton), I tried to implement the TCK tests on Neo4j. My first approach was to use Cypher queries to get the side-effects, but this turned out to be unfeasible, e.g. `CREATE (n) DELETE n` does not result in any observable behaviour. I then switched to using the [`QueryStatistics`](http://neo4j.com/docs/java-reference/current/javadocs/org/neo4j/graphdb/QueryStatistics.html) class, which works fine for nodes using the `getNodesCreated()` and `getNodesDeleted()` methods. However, it does not provide method for retrieving properties.\r\n\r\n```\r\n  Scenario: Non-existent values in a property map are removed with SET =\r\n    Given any graph\r\n    And having executed:\r\n      \"\"\"\r\n      CREATE (:X {foo: 'A', bar: 'B'})\r\n      \"\"\"\r\n    When executing query:\r\n      \"\"\"\r\n      MATCH (n:X {foo: 'A'})\r\n      SET n = {foo: 'B', baz: 'C'}\r\n      RETURN n\r\n      \"\"\"\r\n    Then the result should be:\r\n      | n                         |\r\n      | (:X {foo: 'B', baz: 'C'}) |\r\n    And the side effects should be:\r\n      | +properties | 2 |\r\n      | -properties | 1 |\r\n```"},"comment":{"url":"https://api.github.com/repos/opencypher/openCypher/issues/comments/318774284","html_url":"https://github.com/opencypher/openCypher/issues/221#issuecomment-318774284","issue_url":"https://api.github.com/repos/opencypher/openCypher/issues/221","id":318774284,"user":{"login":"szarnyasg","id":1402801,"avatar_url":"https://avatars3.githubusercontent.com/u/1402801?v=4","gravatar_id":"","url":"https://api.github.com/users/szarnyasg","html_url":"https://github.com/szarnyasg","followers_url":"https://api.github.com/users/szarnyasg/followers","following_url":"https://api.github.com/users/szarnyasg/following{/other_user}","gists_url":"https://api.github.com/users/szarnyasg/gists{/gist_id}","starred_url":"https://api.github.com/users/szarnyasg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szarnyasg/subscriptions","organizations_url":"https://api.github.com/users/szarnyasg/orgs","repos_url":"https://api.github.com/users/szarnyasg/repos","events_url":"https://api.github.com/users/szarnyasg/events{/privacy}","received_events_url":"https://api.github.com/users/szarnyasg/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T22:13:54Z","updated_at":"2017-07-28T22:13:54Z","body":"#236 closes this issue, doesn't it?"}}
{"actor":{"display_login":"szarnyasg"}}