Commit Graph

13 Commits (00afd95cb7cca048dcf7c15fbf1430d5a0724f93)

Author SHA1 Message Date
Daniel Moran 00afd95cb7
refactor: automated move of errors and id from root to kit (#21101)
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Daniel Moran b1283bc998
build: fix 'go generate' and regenerate the universe (#21089) 2021-03-30 10:32:14 -04:00
Tecker.Yu 643acd4ab1
feat(influxql): rewrite regex conditions in subqueries (#20882)
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-03-15 13:04:38 -04:00
Daniel Moran 10fcc2bf1d
fix(influxql): set correct Content-Type on v1 query responses (#20565) 2021-01-22 07:31:52 -08:00
Daniel Moran 1d3fa70928
fix(influxql): Prevent extra output row from GROUP BY crossing DST boundary (#20539)
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-01-19 08:33:24 -08:00
Daniel Moran 15b9531273
fix: correct various typos (#19987)
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Ayan George ca2055c16c
refactor: Replace ctx.Done() with ctx.Err() (#19546)
* refactor: Replace ctx.Done() with ctx.Err()

Prior to this commit we checked for context cancellation with a select
block and context.Context.Done() without multiplexing over any other
channel like:

  select {
    case <-ctx.Done():
      // handle cancellation
    default:
      // fallthrough
  }

This commit replaces those type of blocks with a simple check of
ctx.Err().  This has the following benefits:

* Calling ctx.Err() is much faster than entering a select block.

* ctx.Done() allocates a channel when called for the first time.

* Testing the result of ctx.Err() is a reliable way of determininging if
  a context.Context value has been canceled.

* fix: Fix data race in execDeleteTagValueEntry()
2020-09-16 12:20:09 -04:00
Brett Buddin b917d8d9b0
chore(influxdb): Placate the linter. 2020-08-27 15:46:32 -04:00
Stuart Carnie d20440a09f
fix: go fmt to satisfy go linter 2020-08-26 10:28:35 -07:00
Stuart Carnie 8a7dcc21fb
feat(influxql): Initial implementation of InfluxQL query engine
* Some tests are broken or do not pass; follow up PRs will resolve that
2020-08-14 12:37:30 -07:00
Stuart Carnie b73340a4b1
chore(influxql): Update to latest influxql master-1.x 2020-08-13 11:02:40 -07:00
Stuart Carnie 89532f0c29
refactor: move v2/v1/models to v2/models 2020-08-03 09:20:51 -07:00
Stuart Carnie 92efddbfbe
chore(tsdb): Initial commit of tsdb package
* pulls in 1.x tsdb, compiles and passes test
2020-08-03 09:17:23 -07:00