-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Query aggregates REST support (#4415)
Add rest support for query aggregates. Notes to reviewers: - At this stage we should pay special attention to the capnp specification, make sure it's as generic as possible according to the aggregates design document. - I tested this manually with a local rest server and serialization paths seem to work as expected, but overall the feature doesn't currently work because we need Go support on the REST side which I'll file as followup (When the REST server deserializes the query, the query buffers are set to `nullptr` and their sizes to the correct sizes passed by the user. The Go code is supposed to allocate memory and set the buffers again before the query is submitted "locally". The tests work because in the serialization wrappers we emulate this allocation with some stack allocated buffers, see changes in `helpers.cc`) --- TYPE: NO_HISTORY | FEATURE DESC: Query aggregates REST support --------- Co-authored-by: Luc Rancourt <[email protected]> Co-authored-by: KiterLuc <[email protected]>
- Loading branch information
1 parent
fa5ef51
commit 831b5b0
Showing
31 changed files
with
1,924 additions
and
328 deletions.
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
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
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.