-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Difficulty with <
time WHERE clause
#7582
Comments
There have been two bugfixes since 1.0.2 which seem related and may have resolved this: Can you check if this is still an issue with the nightly builds? https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb. |
I'm on a Mac and I used homebrew to install. I'm not sure how to use the nightly build. I see this: on https://www.influxdata.com/downloads/ but I don't think that works for the homebrew part (since that gets Is there an good way to switch to a nightly build using homebrew? Or another way on the mac? Thanks so much!! |
@duff You can download the latest nightly for Mac in tarball form here: https://dl.influxdata.com/influxdb/nightlies/influxdb-nightly_darwin_amd64.tar.gz You can extract and manually run the |
@rossmcdonald Excellent! I just did that. When running this:
The Thanks so much for your help! Sounds like 1.0.3 would include the fix (whenever it gets released). |
@duff Great! The next release will be v1.1.0, and is due out in the next couple of weeks. It will be available on homebrew when it's released, but, for the meantime, I'd recommend using the nightly. |
I switched back to 1.0.0 for now since it'll automatically get started by homebrew, etc. I'm curious what InfluxCloud is using. :) |
Sounds like this is resolved in 1.1rc1. Closing. |
I'm having some difficulty with a
<
query and I spoke with Edd Robinson in the #influxdb Slack channel who was very gracious and helpful. He asked me to file this report in the hopes that someone may be able to help. Thanks!Here's my measurement:
Both
>
and<
queries work great on it:When I create another measurement though (a basic downsampling) using this query:
select sum(amount) AS amount, sum(usd_amount) as usd_amount, count(amount) INTO "daily_transactions_1" FROM transactions_1 WHERE time >= '2015-01-01' GROUP BY time(1d), gateway_type, currency_code, refund
The result measurement
daily_transactions_1
has trouble with<
queries. Here are all of the points indaily_transactions_1
:>
works great:But
<
doesn't:Any idea what I might be doing wrong?
I'll also include this, in case it helps:
I can't seem to replicate the issue when I'm using InfluxCloud DB. When I hit the hosted database, the
<
query is working great. For my local db though, the<
doesn't give the results I'd expect.I even dropped the DB locally and re-created it, trying to ensure I was at a clean state.
Thanks for any help!
The text was updated successfully, but these errors were encountered: