-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Wire up Top aggregate function #3930
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
72fd115
exposing tags on cursors, top/bottom are valid funcs now
corylanou 97f2dc8
comment/type fixes
corylanou 193fd50
first pass at MapTop. more testing to come
corylanou dd278a1
add test for mixed numerics and fix infer
corylanou 52cb46f
mixed maptop test with strings
corylanou f8d486f
maptop bool test
corylanou e6de6d0
change percentile to check errors in parsing, not in mapping
corylanou 6b005af
change ReducePercentile signature
corylanou b45872c
first pass at ReduceTop
corylanou c5358dc
always sort results for ReduceTop. Skip test until we verify expecte…
corylanou d060f3a
move all aggregate validations to the parser validation from map/redu…
corylanou 0462822
wip remapping top output
corylanou 35b9215
refactor processTopBottom - wip
corylanou 5a66725
refactoring/adding top integration testing
corylanou 6f7eca9
correcting sort behavior for top
corylanou 0fa9cfe
ignore SourceGraph directory
corylanou f3e557d
more top test scenarios
corylanou ba79007
wip
corylanou 8c4595b
top is coming together. filling out fields properly
corylanou 347ffc7
wire up advanced top sorting/slicing
corylanou 3db5a85
all tests passing for top
corylanou 9703467
refactor validateAggregates
corylanou d3465ba
remove sourcegraph files added in a rebase
corylanou 3867fed
one additional test for top
corylanou 88ce04a
move comment to proper line
corylanou b71833a
refactor allowMixedAggregates, comment cleanup
corylanou 3ca9359
BucketTime -> TMin
corylanou 4a9e936
minor comment fix
corylanou 9ab3d89
bucketTime* -> tMin*
corylanou 6a3bedc
add additional parser test for top function with tags
corylanou 08295c5
refactor processTopBottom
corylanou 65e6528
btf -> tmin
corylanou b62d8c0
expand variable names for clarity
corylanou be92093
update changelog
corylanou bdc54cf
helpers -> pkg + readme
corylanou fa4415b
refactor processing top/bottom results. clarify some comments
corylanou a09e2c2
minor tweaks based on PR review
corylanou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,6 @@ integration/migration_data/ | |
|
||
# goconvey config files | ||
*.goconvey | ||
|
||
// Ingnore SourceGraph directory | ||
.srclib-store/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is this changing?
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.
The error is now caught upstream further, so it isn't being wrapped by an error return again, or in this specific case, a results object.