<p dir="auto">Dear Neo4j team,<br>
I have a issue when i'm trying to use NOT IN expressions</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="This is my use case:

- The first query, i get nodes that have relationship with cypher
start cypher=node(4) 
match cypher-[:KNOWS]-friends 
return friends

Expect result: node 2 and node 5
Actual result: node 2 and node 5. This query run pretty good.

- The second query, i inherit the first query but i want to exclude node 5  

start cypher=node(4) 
match cypher-[:KNOWS]-friends 
where NOT (ID(friends) IN [5]) 
return friends

Expect result: node 2
Actual result: &quot;Error: java.lang.RuntimeException: java.lang.RuntimeException&quot;

Please try above use cases on http://tinyurl.com/bn35krt 

Thanks!
Gia"><pre class="notranslate"><code class="notranslate">This is my use case:

- The first query, i get nodes that have relationship with cypher
start cypher=node(4) 
match cypher-[:KNOWS]-friends 
return friends

Expect result: node 2 and node 5
Actual result: node 2 and node 5. This query run pretty good.

- The second query, i inherit the first query but i want to exclude node 5  

start cypher=node(4) 
match cypher-[:KNOWS]-friends 
where NOT (ID(friends) IN [5]) 
return friends

Expect result: node 2
Actual result: "Error: java.lang.RuntimeException: java.lang.RuntimeException"

Please try above use cases on http://tinyurl.com/bn35krt 

Thanks!
Gia
</code></pre></div>
<ul dir="auto">
<li>Neo4j version: 3.0.7</li>
<li>Operating system: MacOS 10.12</li>
<li>API/Driver: Terminal</li>
</ul>
<p dir="auto">Following the tutorial for using the bulk CSV importer with multiple  files, I issued the following command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$NB/neo4j-import --into test.db --nodes &quot;header.csv, patents.csv&quot; --delimiter &quot;|&quot; --skip-duplicate-nodes"><pre class="notranslate"><code class="notranslate">$NB/neo4j-import --into test.db --nodes "header.csv, patents.csv" --delimiter "|" --skip-duplicate-nodes
</code></pre></div>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Import of the records in patents.csv.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Zero records being imported. Looking at the feedback generated by Neo4J, it was clear (in retrospect) that only the header.csv file was ingested, but no hint of why.</p>
<p dir="auto">Through the wonderful StackOverflow community, I learned that the problem was the space after the comma in "header.csv, patents.csv". Removing that space made everything work fine.</p>
<p dir="auto">As a naive user, this seems to perhaps be overly strict parsing behavior, especially since the list of files is enclosed within quotes.  Possible enhancements include:</p>
<ul dir="auto">
<li>Allowing less strict parsing, so that my original command would run. Or, if that were not possible</li>
<li>Noting the requirement to have no spaces in the file list as part of the tutorial and other documentation (just as the need to enclose the list in quotes is currently noted) &amp;/or</li>
<li>Generating a more informative error message.</li>
</ul>
<p dir="auto">Wonderful program. Thanks for considering.</p>