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

parser: allow select from multiple series [#112] #567

Closed
wants to merge 1 commit into from

Conversation

peekeri
Copy link
Contributor

@peekeri peekeri commented May 22, 2014

Adjust parser to understand 'SELECT * FROM series1, series2, ...' queries. It seems
that selecting from multiple series was supported everywhere else, but parser just
could not understand the syntax.

This should fix issue #112.

@jvshahid
Copy link
Contributor

Hi @peekeri, thanks for your contribution. We didn't implement this feature because it's achievable using regex |. Do you mind adding an integration test to data_test.go to make sure that this will work downstream as well.

@jvshahid jvshahid added this to the Next release milestone May 22, 2014
Adjust parser to understand queries like 'SELECT * FROM series1, series2, ...'.
It seems that selecting from multiple series was supported everywhere else, but
parser just could not understand the syntax.
@peekeri
Copy link
Contributor Author

peekeri commented May 23, 2014

@jvshahid I saw from the issue #112 how the same can be achieved using regex, but as one of the nice features of InfluxDB query language is that it is easily understandable by non-programmers, I thought that maybe more convenient way to specify multiple series is something that would be appreciated by users that are not intimately familiar with regular expressions.

I added two integration tests to data_test.go, please let me know if you think those are enough or should there be some more tests around this.

@jvshahid jvshahid closed this in bf2c1c6 May 23, 2014
@jvshahid jvshahid modified the milestones: 0.7.0, Next release May 23, 2014
pauldix pushed a commit that referenced this pull request May 27, 2014
Adjust parser to understand queries like 'SELECT * FROM series1, series2, ...'.
It seems that selecting from multiple series was supported everywhere else, but
parser just could not understand the syntax.
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