-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Live & bulk loader changes #2961
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
Merged
Merged
Changes from 51 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
6145526
Accept directory as argument to --rdfs and look for .rdf and .json fi…
6e395be
Merge branch 'master' into javier/issue2889_live_load_json
98e0ea1
Add x.FileReader() function to return a reader that decompresses if n…
3ca188a
Forward file to the RDF or JSON processor as appropriate.
de3da8f
Working version?
c4291db
Add live test stub.
5866bd7
Ensure pending nquads are submitted after EOF.
86c421f
Change references to RDFs to N-Quads to be more correct.
9cb6dca
Merge master.
bdfcd85
Export TMPDIR in test.sh so that hopefully tests will use it. Change …
1e9c530
Change test data schema to reflect changes merged from master.
c495a01
Live JSON load test.
f499943
Auto-detect JSON in load files with no .rdf or .json extension in the…
7b5ad3b
Fix bug reading streamed JSON. Add test of loading streamed JSON.
405c60a
Live load testing improvements.
37c3437
First attempt at autogenerating uid from key fields.
afe44d4
Replace RDFs in message with N-Quads.
9da9d8e
Add debugging code.
fce4ff6
Fix bug assigning blank ids. Move more testing code to testing package.
fbad4cf
Add test of live loading multiple JSON files.
8c073d5
Add test of live loading JSON without UID field. Testing improvements.
f828d57
Add tests of live JSON load with auto-uid.
44b1a73
Merge branch 'master' into javier/issue2889_live_load_json
cc59eed
Small restartCluster fix.
f6b25ca
Merge master.
06fd748
Rename fields to be more correct or specific.
a23a169
Improved comments.
4495702
Remove test.sh change that should be part of another branch.
2a94576
Fix bugs catching errors.
c9833fd
Make auto-added blank uid fields per file.
cee8c8d
Don't bother hashing the concatenated key values to generate a blank …
3b7b648
Refactor processRdfFile
ad641a2
Minor changes.
5b4c423
Add JsonToNquads to replace NquadsFromJson later.
4747690
Rename some functions. Don't dump stack trace for input error.
6f01e18
Move chunk test from bulk package to x package.
0cb8030
Change processRdf to use a chunker as well.
ce62a5a
Move chunker from x package to a new loadfile package. Remove bulk ch…
7286176
Merge master.
1a409cf
Refactor more bulk/live code.
0454e92
Minor testing changes.
77d029b
Merge master.
50f5744
Merge master.
500fa12
Add a small visual indicator of when a long-running test starts.
05ff572
Fix rdfChunker.Parse to parse all RDF lines in chunk instead of only …
487dcc5
Add check for EOF in RDF chunk parser.
17125d9
Add --key option to bulk loader for parity with live loader.
8e7b581
Fix batching, which was broken by live/bulk refactoring.
1c2c9ef
Parse key fields earlier in the process.
116a794
Cleanup suggestions from PR.
8f16e04
PR review fixes.
7685150
Fix warning.
dd237b1
Remove --key support since it requires more thought.
db7f34f
Remove two-line functions processJsonFile and processRdfFile.
915eef8
Inline nextNquads() and finalNquads() into processLoadFile().
d09e925
Rename package loadfile to chunker.
94f355b
Move package rdf to chunker/rdf.
9f39ac9
WIP...
6872833
Move json and rdf nquad parsing under chunker.
ec990e2
Move FileReader() and IsJSONData() from x package to chunker.
ac41b58
Rename live --rdfs option to --files since it can load more than *.rd…
6143636
Fix a bug where batch slice was being modified after sending to a cha…
manishrjain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gql.NQuad
composite literal uses unkeyed fields (fromgovet
)