Comments (6)
Yeah, this repo accompanies a video where I create those files. I'll make some changes to this repo so that it can stand alone.
I'll try to recreate the .cql crash.
from neo4j-complaints.
I watched the webinar. Very very useful, thanks. I think the problem is (with the latest csv file) that some of the Issues are blanks, so MERGE fails. You are addressing this problem with subproducts and subissues by composing new files. However I'd like to be able to do this on fly. Examine the row and call merge ONLY if particular column is not null. I know I can do this with WHERE clause after Load CSV, but this is not good enough. Could you maybe suggest the way to do that? Thanks
from neo4j-complaints.
What's wrong with doing it in the WHERE clause? That's the change I was going to make.
from neo4j-complaints.
Only that you need to do LOAD CSV multiple times for each of the columns you want to merge and where you expect empty values. What would be good, I think, is to do Merge(s) with condition (if not empty) within the single row read. I found FOREACH trick by Marak Needham explaining this: http://www.markhneedham.com/blog/2014/08/22/neo4j-load-csv-handling-empty-columns
from neo4j-complaints.
Yes, then you would need to use the FOREACH hack, unfortunately. I purposely avoided that in the webinar because it's pretty ugly.
from neo4j-complaints.
I've updated the repository to use Consumer_Complaints.csv
across all the import queries. Also, I'm guessing your exception was raised because LOAD_CSV.cql
requires the missing files you were asking about.
from neo4j-complaints.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-complaints.