-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on importing of data #1
Comments
First, at this point, any code that starts with ":auto" has to be run by itself. Currently working on automating the script. |
Hi, |
That is odd. Others have used this as recent as yesterday with no issues. I will review this evening, if i can. |
Hi, I just ran the next block of your script and it ran fine: LOAD CSV WITH HEADERS I then try running this block without success. LOAD CSV WITH HEADERS |
I ran all the queries last night with no issues. The name difference Alternate_Titles and AlternateTitles should not cause an issue. The first is an element in the Taxonomy, the second is an actual alternate title for an occupation or workrole. I'll keep looking. |
Hi David, I deleted the database and tried a second time with the same result. That step does not complete. I do notice in Activity monitor that Java Swells to 1.5G of memory while it is processing. One thing I am curious on are the constraints Your cypher file lists only these three. Dis you create other constraints per chance? // TODO need to add constraints, this is example only |
I have not been able to recreate your error. I have run the scripts a couple of time and while it does take some time, it does not fail. |
I tried again after doing the update to 4.1.1 that was pushed out today. The problematic step was able to load albeit that single step took 20+ minutes to complete. The next block (which I actually ran first to 1 minute to complete). |
Hi,
Very interested in this data set. First attempt was to use provided cypher import file, but process never completed.
Second attempt, copy and paste snippets at a time from script. Generally worked until this point (all other steps have worked and completed is short order)
// Add Alternative titles for Occupations and Workrole
:auto USING PERIODIC COMMIT
LOAD CSV WITH HEADERS
FROM 'file:///AlternateTitles.txt' AS line FIELDTERMINATOR ' '
MATCH (a:Occupation {onet_soc_code: line.
O*NET-SOC Code
})MERGE (t:AlternateTitles {title: line.
Alternate Title
,shorttitle: line.
Short Title
, source: line.Source(s)
})WITH a, t, line
CALL apoc.create.relationship(a, 'Equivalent_To', {}, t) YIELD rel
RETURN count(rel)
This step never completes and after repeated tries I get a memory error. Any suggestions for fixes/workarounds?
Andy
The text was updated successfully, but these errors were encountered: