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

Add group_by support for NodeState #1903

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3b6fce4
initial implementation of group_by
ljeub-pometry Dec 19, 2024
b4a932f
change index to use RoaringTreeMap instead so it is more memory effic…
ljeub-pometry Dec 20, 2024
213dd72
bring back node list
ljeub-pometry Dec 20, 2024
9dd123e
minor tweaks
ljeub-pometry Dec 20, 2024
d765249
add multi-path to test
ljeub-pometry Jan 2, 2025
0940beb
basic group by implemented
ljeub-pometry Jan 2, 2025
d2b1f0e
use index map
ljeub-pometry Jan 3, 2025
e437346
rethink the node state python interface
ljeub-pometry Jan 6, 2025
0f46a75
make NodeState clone
ljeub-pometry Jan 6, 2025
d7412b3
rework IntoPyObject for NodeView
ljeub-pometry Jan 6, 2025
873eb30
add python group by implementation
ljeub-pometry Jan 9, 2025
694dca7
tidy
ljeub-pometry Jan 9, 2025
29810e2
tidy up warnings
ljeub-pometry Jan 9, 2025
1844c40
Merge master into feature/group_by
ljeub-pometry Jan 9, 2025
31cfaed
update the in- and out-component test for updated GQL apis
ljeub-pometry Jan 9, 2025
be82ce6
fix some docstring error
ljeub-pometry Jan 9, 2025
67a1181
bring back sorting for methods as they otherwise change order randomly
ljeub-pometry Jan 9, 2025
dda5b0c
move stub_gen and make sure properties get the warnings as well
ljeub-pometry Jan 10, 2025
0433a3d
fix static method check
ljeub-pometry Jan 10, 2025
b2488fe
ignore some python stuff
ljeub-pometry Jan 10, 2025
1bbcd30
move stub-gen
ljeub-pometry Jan 10, 2025
683cbaa
fix some docs
ljeub-pometry Jan 10, 2025
49c3962
add tests and fix more docs
ljeub-pometry Jan 10, 2025
73460b6
fix the python test
ljeub-pometry Jan 10, 2025
d5bced2
make groub_by parallel
ljeub-pometry Jan 13, 2025
535cb27
Merge master into feature/GQL_sort_nodes
ljeub-pometry Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ __pycache__/

# C extensions
*.so

# Python
*.egg-info
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rand_distr = "0.4.3"
rustc-hash = "2.0.0"
twox-hash = "2.1.0"
lock_api = { version = "0.4.11", features = ["arc_lock", "serde"] }
dashmap = { version = "6.0.1", features = ["serde"] }
dashmap = { version = "6.0.1", features = ["serde", "rayon"] }
enum_dispatch = "0.3.12"
glam = "0.29.0"
quad-rand = "0.2.1"
Expand Down Expand Up @@ -149,3 +149,4 @@ arrow-buffer = { version = "53.2.0" }
arrow-schema = { version = "53.2.0" }
arrow-array = { version = "53.2.0" }
moka = { version = "0.12.7", features = ["sync"] }
indexmap = "2.7.0"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pull-storage: activate-storage
git submodule update --init --recursive

install-stub-gen:
python -mpip install ./python/scripts/stub_gen
python -mpip install -e stub_gen

stubs: install-stub-gen
cd python && ./scripts/gen-stubs.py && mypy -m raphtory
Expand Down
1 change: 0 additions & 1 deletion examples/custom-gql-apis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ authors = ["Pometry"]
rust-version = "1.75.0"
edition = "2021"

doc = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[lib]
[lib]
name = "raphtory"
Expand Down
1 change: 1 addition & 0 deletions examples/custom-gql-apis/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]

[tool.maturin]
features = ["pyo3/extension-module"]
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository.workspace = true
license.workspace = true
readme.workspace = true
homepage.workspace = true
doc = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "raphtory"
Expand Down
Loading
Loading