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

service/search: ignore request span if pool has no span #2745

Merged
merged 1 commit into from
May 20, 2021
Merged

Conversation

nwt
Copy link
Member

@nwt nwt commented May 20, 2021

Closes #2740.

@nwt nwt requested a review from a team May 20, 2021 02:43
@@ -132,6 +132,18 @@ func (s *SearchOp) Run(ctx context.Context, adaptor proc.DataAdaptor, pool *lake
return driver.RunWithLakeAndStats(ctx, d, seq, zctx, adaptor, statsTicker.C, s.logger, parallelism)
}

func poolHasSpan(ctx context.Context, pool *lake.Pool) bool {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this can just check len(pool.Layout.Keys) == 0

Copy link
Member Author

Choose a reason for hiding this comment

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

That'll break the app in a different way since it currently creates pools with no key.

@nwt nwt merged commit 035b439 into main May 20, 2021
@nwt nwt deleted the ts-not-time branch May 20, 2021 03:22
brim-bot pushed a commit to brimdata/brimcap that referenced this pull request May 20, 2021
…o span" by nwt

This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2745, authored by @nwt,
has been merged.

service/search: ignore request span if pool has no span

Closes brimdata/super#2740.
brim-bot pushed a commit to brimdata/brimcap that referenced this pull request May 20, 2021
…o span" by nwt

This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2745, authored by @nwt,
has been merged.

service/search: ignore request span if pool has no span

Closes brimdata/super#2740.
brim-bot pushed a commit to brimdata/zui that referenced this pull request May 20, 2021
…o span" by nwt

This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2745, authored by @nwt,
has been merged.

service/search: ignore request span if pool has no span

Closes brimdata/super#2740.
brim-bot pushed a commit to brimdata/brimcap that referenced this pull request May 20, 2021
This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2747, authored by @nwt,
has been merged.

service: add test for non-time ts field

I meant to include this in brimdata/super#2745.
brim-bot pushed a commit to brimdata/brimcap that referenced this pull request May 20, 2021
This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2747, authored by @nwt,
has been merged.

service: add test for non-time ts field

I meant to include this in brimdata/super#2745.
brim-bot pushed a commit to brimdata/zui that referenced this pull request May 20, 2021
This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2747, authored by @nwt,
has been merged.

service: add test for non-time ts field

I meant to include this in brimdata/super#2745.
@philrz philrz linked an issue May 27, 2021 that may be closed by this pull request
@philrz philrz linked an issue May 27, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants