-
Notifications
You must be signed in to change notification settings - Fork 64
impl window filter #2359
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
impl window filter #2359
Conversation
ljeub-pometry
left a comment
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.
Rearchitect Windowed such that it wraps everything which should simplify a lot of the code and also make it much easier to extend to Layered
|
|
||
| #[staticmethod] | ||
| fn window(py_start: Bound<PyAny>, py_end: Bound<PyAny>) -> PyResult<PyEdgeWindow> { | ||
| let s = py_into_millis(&py_start)?; |
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.
there should already be support for doing this, it might be TimeIndexComponent
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.
Replace this with TimeIndexComponent when merged from master.
|
|
||
| #[pyclass(frozen, name = "NodeWindow", module = "raphtory.filter")] | ||
| #[derive(Clone)] | ||
| pub struct PyNodeWindow(pub Windowed<NodeFilter>); |
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.
PyNodeWindow/EdgeWindow/ExplodedEdgeWindow can probably be replaced with dynamic dispatch eventually but it is a bit more tricky
ljeub-pometry
left a comment
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.
almost there, just some minor things to fix
* impl nodes select filtering in gql * change semantics of filters in gql, add missing filter apis in edges, fix all tests * add more edge filter tests * add filtering to path from node, add tests * fix apply views * rename filter-iter to select * add select as args * impl window filter (#2359) * impl window filter * impl window filter in python, add tests * impl gql window filter, add tests * ref * impl review suggestions * fixes * fix py and gql * add review suggestions
* redesign, refactor property filters * takes a reference * rework validation * fix arbitrary list, fix tests * merge python traits, fix tests, add more validations * rework gql filtering apis, fix tests * add review suggestions * Features/gql apis (#2350) * impl nodes select filtering in gql * change semantics of filters in gql, add missing filter apis in edges, fix all tests * add more edge filter tests * add filtering to path from node, add tests * fix apply views * rename filter-iter to select * add select as args * impl window filter (#2359) * impl window filter * impl window filter in python, add tests * impl gql window filter, add tests * ref * impl review suggestions * fixes * fix py and gql * add review suggestions
Fixes #2261