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

InfluxDBClientError: 400: Couldn't look up columns, when querying a time-series using an aggregate function and where clause #1025

Closed
sherifzain opened this issue Oct 12, 2014 · 2 comments

Comments

@sherifzain
Copy link

InfluxDBClientError: 400: Couldn't look up columns

When querying a time-series using an aggregate function together with a where clause on the time field for time ranges that do not exist in the series.

Example:

I have a time-series named 'x' which contains data of only one month (the last month)
Then I tried to run the following query:
select mean(energy) from x where time < now() - 300d and time > now() - 400d;

And I got the above error.

@pauldix
Copy link
Member

pauldix commented Oct 12, 2014

Looks like this is the same thing as #1004. Already a PR in and it'll get fixed in the next release.

@pauldix pauldix closed this as completed Oct 12, 2014
@sherifzain
Copy link
Author

OK, cool.

I reported it since I was not sure it relates to sharding.

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

No branches or pull requests

3 participants