Support Functions for AGE to CSV and Vice Versa #19
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.
Function Results:
agload_test_graphdata with72,500 edges and 72,500 verticesfrom AGE to CSV in1.2 seconds.agloa_test_graphdata72,500 edges and 72,500 verticesfrom CSV to AGE graph in2.5 secondsGraphs with Nested Properties:
100,000 vertices and 50,000 edgesfrom AGE to CSV in2.7 seconds100k vertices and 50k edgesfrom CSV to AGE in3.0 seconds.Store Age to CSV Function - Description:
Parameters:
Store CSV to AGE Function - Description
FOR CSV FILES:
FOR JSON FILES:
1. 'start_id', 2. 'end_id', 3. 'start_vertex_type', 4. 'end_vertex_type' for each edge.
NOTE: In CSV and JSON files, additional columns and keys respectively will count as properties.
Parameters:
with_labelsisFalse, function assumes that vlabels and elabels already exist.NOTE: Set
with_labelstoFalseif you are loading data to an existing graph.Raises:
Exception: An exception is raised if the given path is neither a file nor a directory
or if the file format is invalid.