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

Rewrite SHOW SERIES to SELECT #5937

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

benbjohnson
Copy link
Contributor

Overview

This pull request rewrites SHOW SERIES statements into SELECT statements so they can be execute by the query engine.

Fixes #5580

  • CHANGELOG.md updated
  • Rebased/mergable
  • Tests pass
  • Sign CLA (if not already signed)

@benbjohnson benbjohnson changed the title SHOW SERIES Rewrite SHOW SERIES to SELECT Mar 8, 2016

// Next emits the next point in the iterator.
func (itr *seriesIterator) Next() *influxql.FloatPoint {
for {
Copy link
Contributor

Choose a reason for hiding this comment

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

This loop will only iterate once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in ebf7cf1.

@e-dard
Copy link
Contributor

e-dard commented Mar 8, 2016

LGTM. Have you tested it on a local cluster @benbjohnson ?

@benbjohnson
Copy link
Contributor Author

@e-dard Yes, I tested it in a local cluster and it works.

benbjohnson added a commit that referenced this pull request Mar 8, 2016
@benbjohnson benbjohnson merged commit 425ef2c into influxdata:master Mar 8, 2016
@benbjohnson benbjohnson deleted the show-series branch March 8, 2016 22:36
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