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 collect aggregator #1496

Merged
merged 2 commits into from
Oct 15, 2020
Merged

add collect aggregator #1496

merged 2 commits into from
Oct 15, 2020

Conversation

mccanne
Copy link
Collaborator

@mccanne mccanne commented Oct 15, 2020

This commit adds an aggregator called "collect" that assembles its input
into an array.

This is needed in the beacon work.

@mccanne mccanne requested a review from a team October 15, 2020 20:21
}

func (c *Collect) Result() zng.Value {
b := zcode.NewBuilder()
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
b := zcode.NewBuilder()
var b zcode.Builder

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That looks familiar :-)

@mccanne mccanne merged commit 032d9c5 into master Oct 15, 2020
@mccanne mccanne deleted the collect branch October 15, 2020 21:42
brim-bot pushed a commit to brimdata/zui that referenced this pull request Oct 15, 2020
This is an auto-generated commit with a zq dependency update. The zq PR
brimdata/super#1496, authored by @mccanne,
has been merged.

add collect aggregator

This commit adds an aggregator called "collect" that assembles its input
into an array.

This is needed in the beacon work.
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.

2 participants