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

[SNAP-2646] make a copy for non-primitive aggregations #1195

Merged
merged 7 commits into from
Nov 2, 2018
Merged

Conversation

sumwale
Copy link
Contributor

@sumwale sumwale commented Nov 1, 2018

Key-based aggregations (GROUP BY) already handle copying of incoming value
but was missing in non-key flat aggregations.

Changes proposed in this pull request

  • refactored value copy code in ObjectHashMapAccessor and string clone code (only if required)
  • use above for non-key aggregations too

Patch testing

precheckin; failing test in SNAP-2646 being tested

ReleaseNotes.txt changes

NA

Other PRs

NA

Key-based aggregations (GROUP BY) already handle copying of incoming value
but was missing in non-key flat aggregations.
@sumwale sumwale changed the title [SNAP-2646] make a copy of non-primitive aggregate [SNAP-2646] make a copy for non-primitive aggregations Nov 1, 2018
Copy link

@kneeraj kneeraj left a comment

Choose a reason for hiding this comment

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

LGTM

@sumwale sumwale merged commit 481c206 into master Nov 2, 2018
@sumwale sumwale deleted the SNAP-2646 branch November 2, 2018 09:29
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.

None yet

2 participants