Skip to content
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

Parquet loader #1666

Merged
merged 35 commits into from
Jun 26, 2024
Merged

Parquet loader #1666

merged 35 commits into from
Jun 26, 2024

Conversation

shivam-880
Copy link
Collaborator

@shivam-880 shivam-880 commented Jun 19, 2024

What changes were proposed in this pull request?

Impl #1660

Why are the changes needed?

Same as above

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

Yes

How was this patch tested?

Unit tests

Issues

If this resolves any issues, please link to them here, the format is a KEYWORD followed by @_
KEYWORDS available are close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved.
Please delete this text before creating your PR

Are there any further changes required?

No

@shivam-880 shivam-880 requested review from ljeub-pometry, fabianmurariu and miratepuffin and removed request for ljeub-pometry and fabianmurariu June 20, 2024 12:22
@shivam-880 shivam-880 marked this pull request as ready for review June 20, 2024 12:22
Copy link
Collaborator

@ljeub-pometry ljeub-pometry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Some minor cleanup
  • Should support path being a folder of parquet files since that is what you get from Spark

python/tests/test_load_from_parquet.py Outdated Show resolved Hide resolved
raphtory/src/io/arrow/dataframe.rs Outdated Show resolved Hide resolved
raphtory/src/io/parquet_loaders.rs Outdated Show resolved Hide resolved
raphtory/src/io/parquet_loaders.rs Outdated Show resolved Hide resolved
raphtory/src/python/graph/disk_graph.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@miratepuffin miratepuffin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes/suggestions, but otherwise looking good.

There are a couple of comments that I dont think need to go in this PR, but we probably want to get them tidied before the next major release.

Also for the testing it probably makes sense to load the graphs via pandas, parquet, raw, etc and see if they all create the same graph - can be part of a test refactoring ticket.

raphtory/src/core/entities/graph/tgraph.rs Outdated Show resolved Hide resolved
raphtory/src/core/utils/errors.rs Show resolved Hide resolved
raphtory/src/core/utils/errors.rs Show resolved Hide resolved
raphtory/src/db/graph/edge.rs Outdated Show resolved Hide resolved
raphtory/src/disk_graph/graph_impl/layer_ops.rs Outdated Show resolved Hide resolved
raphtory/src/python/graph/graph.rs Show resolved Hide resolved
raphtory/src/python/graph/graph.rs Show resolved Hide resolved
# Conflicts:
#	examples/rust/src/bin/btc/main.rs
#	examples/rust/src/bin/lotr/main.rs
#	raphtory/src/io/csv_loader.rs
@miratepuffin miratepuffin merged commit 0f6bc21 into master Jun 26, 2024
19 checks passed
@miratepuffin miratepuffin deleted the parquet-loader branch June 26, 2024 16:31
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.

4 participants