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

Refactor how results are returned to the client #8725

Closed
wants to merge 1 commit into from

Conversation

jsternberg
Copy link
Contributor

@jsternberg jsternberg commented Aug 21, 2017

This refactors the internal result returning system to match more
closely how we iterative return points between result sets, series, and
rows within the series. It uses the updated terminology rather than
older terminology that no longer matches how we refer to things in the
documentation or within the query engine.

The refactor moves the aggregation and chunking behavior from
influxql.Emitter to the HTTP service so that behavior is isolated to
one location rather than sprinkled around in multiple locations.

  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

@jsternberg
Copy link
Contributor Author

This includes the refactor from #8477, but rebased to resolve merge conflicts and it removes the new response format. So this just refactors the internal structure of how results are constructed instead of adding additional functionality on top of that.

@jsternberg jsternberg force-pushed the js-refactor-result-structure branch 3 times, most recently from 373b9da to 74e4b84 Compare August 31, 2017 21:13
@jsternberg jsternberg force-pushed the js-refactor-result-structure branch from 74e4b84 to 693d902 Compare September 14, 2017 15:31
This refactors the internal result returning system to match more
closely how we iterative return points between result sets, series, and
rows within the series. It uses the updated terminology rather than
older terminology that no longer matches how we refer to things in the
documentation or within the query engine.

The refactor moves the aggregation and chunking behavior from
`influxql.Emitter` to the HTTP service so that behavior is isolated to
one location rather than sprinkled around in multiple locations.
@jsternberg jsternberg force-pushed the js-refactor-result-structure branch from 693d902 to 3a96add Compare September 25, 2017 17:12
@jsternberg jsternberg closed this Sep 28, 2017
@jsternberg jsternberg deleted the js-refactor-result-structure branch September 28, 2017 16:51
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.

1 participant