Skip to content

Adding node layers to tests and loaders#2597

Draft
arienandalibi wants to merge 124 commits into
db_v4from
db_v4_node_layers
Draft

Adding node layers to tests and loaders#2597
arienandalibi wants to merge 124 commits into
db_v4from
db_v4_node_layers

Conversation

@arienandalibi
Copy link
Copy Markdown
Collaborator

What changes were proposed in this pull request?

Node layers were previously not tested rigorously. They are now being added to tests, proptests, the loaders, and the parquet encoders. The loaders and parquet encoders are also used by materialize.

Why are the changes needed?

Fix node layer related bugs that we find.

Does this PR introduce any user-facing change? If yes is this documented?

It shouldn't

How was this patch tested?

proptests

Are there any further changes required?

There shouldn't be

…re-compute new IDs and turn them into RecordBatches
…ock the graph to get parallel iterators over edges. We filter to respect GraphView filtering behaviour.
…ill use ArrowWriter<File> for now, but we will add support for loading into a graph
# Conflicts:
#	raphtory/src/serialise/parquet/mod.rs
… function can now be passed to these functions to determine how the sinks will be created. This will allow us to pass a sink which is a crossbeam_channel to send RecordBatches elsewhere.
# Conflicts:
#	raphtory/src/serialise/parquet/mod.rs
…f encoding everything and then ingesting everything (which would keep everything in memory at once).
…anning each segment for each row. Now using this path in the new materialize_using_recordbatches function.
…separate out running materialize and parquet decoding. Test using SF10 for now.
… back to Option, if it's not there then we imply STATIC_GRAPH_LAYER
…ing both functions into one. updating callsites. fixing variable names. cleaning up comments
# Conflicts:
#	raphtory/src/db/api/view/internal/time_semantics/persistent_semantics.rs
#	raphtory/src/parquet_encoder/nodes.rs
…the disk graphs are unreadable or data is loaded incorrectly
…the disk graphs are unreadable or data is loaded incorrectly
…the source graph doesn't change each time the test runs. Added .gitkeep empty files so empty directories are picked up by git.
…st. Add an entry in the makefile to run this example and create the necessary sentinel .gitkeep files in empty directories.
…s in pometry-storage instead of having them in Raphtory.
# Conflicts:
#	raphtory-tests/tests/test_materialize_sf10.rs
#	raphtory-tests/tests/test_saved_graphs.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant