-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-32251 Mark balanced splitters with an attribute in the graph #18881
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-32251 Jirabot Action Result: |
@@ -1515,7 +1522,6 @@ class GraphScopeIterator : public CInterfaceOf<IConstWUScopeIterator> | |||
} | |||
if (whichProperties & PTstatistics) | |||
{ | |||
playAttribute(visitor, WaLabel); |
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.
Cut and paste error. Previously the label was returned twice by wudetails - it should not be included in the stats list.
@@ -1494,7 +1494,14 @@ class GraphScopeIterator : public CInterfaceOf<IConstWUScopeIterator> | |||
{ | |||
if (whichProperties & PTattributes) | |||
{ | |||
playAttribute(visitor, WaLabel); | |||
Owned<IAttributeIterator> nodeAttrs = cur.getAttributes(); |
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.
General implementation that covers label and new balanced attribute
@@ -1494,7 +1494,14 @@ class GraphScopeIterator : public CInterfaceOf<IConstWUScopeIterator> | |||
{ | |||
if (whichProperties & PTattributes) | |||
{ | |||
playAttribute(visitor, WaLabel); | |||
Owned<IAttributeIterator> nodeAttrs = cur.getAttributes(); |
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.
Doesn't it make more sense to have isBalanced as an att element like other properties of the activity?
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.
It would, but that format is has a much higher memory footprint than needed. I wish 90% of the attributes were stored as attributes instead of att tags.
I can change for consistency since we're probably never going to replace the format or if we did it would not be piecemeal.
Signed-off-by: Gavin Halliday <[email protected]>
Type of change:
Checklist:
Smoketest:
Testing: