[
https://issues.apache.org/jira/browse/TINKERPOP-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boxuan Li updated TINKERPOP-2973:
---------------------------------
Description:
GraphComputer has vertexFilter and edgeFilter, but not yet a filter for vertex
properties. Many vertex programs don't need many if not all vertex properties.
PageRank, for example, does not need any vertex properties at all. Having a
vertex property filter can reduce memory/disk usage.
I implemented a vertex property filter and will submit a PR soon. In my use
case, the RDD size reduces from 2.8GB to 2.1GB (25%) by applying a vertex
property filter.
Before:
!image-2023-07-25-22-49-16-418.png|width=1145,height=46!
After:
!image-2023-07-25-22-48-37-510.png|width=1366,height=28!
was:
GraphComputer has vertexFilter and edgeFilter, but not yet a filter for vertex
properties. Many vertex programs don't need many if not all vertex properties.
PageRank, for example, does not need any vertex properties at all. Having a
vertex property filter can reduce memory/disk usage.
I implemented a vertex property filter and will submit a PR soon. In my use
case, the RDD size reduces from 2.8GB to 2.1GB by applying a vertex property
filter.
Before:
!image-2023-07-25-22-49-16-418.png|width=1145,height=46!
After:
!image-2023-07-25-22-48-37-510.png|width=1366,height=28!
> GraphComputer should allow vertex properties filtering
> ------------------------------------------------------
>
> Key: TINKERPOP-2973
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2973
> Project: TinkerPop
> Issue Type: New Feature
> Reporter: Boxuan Li
> Priority: Minor
> Attachments: image-2023-07-25-22-48-37-510.png,
> image-2023-07-25-22-49-16-418.png
>
>
> GraphComputer has vertexFilter and edgeFilter, but not yet a filter for
> vertex properties. Many vertex programs don't need many if not all vertex
> properties. PageRank, for example, does not need any vertex properties at
> all. Having a vertex property filter can reduce memory/disk usage.
>
> I implemented a vertex property filter and will submit a PR soon. In my use
> case, the RDD size reduces from 2.8GB to 2.1GB (25%) by applying a vertex
> property filter.
>
> Before:
> !image-2023-07-25-22-49-16-418.png|width=1145,height=46!
> After:
> !image-2023-07-25-22-48-37-510.png|width=1366,height=28!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)