Commit Graph

1677 Commits (36d9541cbc69f6d889996eeb0be3f60d69801080)

Author SHA1 Message Date
Edd Robinson d805ce6189 refactor: move LogicalDataType into Schema 2021-01-19 15:33:44 +00:00
Paul Dix a4848d5e8b
feat: Add persistence of database rules (#671)
This pulls the server configuration into its own module. It updates the config so that databases can be created and saved without holding a write lock across an async call. Follow on work will add reading of these rules from object store on server initialization.
2021-01-19 10:31:04 -05:00
Edd Robinson bebcb21756
Merge pull request #672 from influxdata/er/feat/read_buffer/read_aggregate
refactor: refactor read buffer result schema
2021-01-18 12:36:10 +00:00
Edd Robinson e34979532d refactor: fix Display implementation 2021-01-18 12:05:11 +00:00
Edd Robinson bdeacdcf37 docs: define merging 2021-01-18 12:05:11 +00:00
Edd Robinson e2a16d7d4c refactor: fix error handling 2021-01-18 12:05:11 +00:00
Edd Robinson 3c61fdb773 refactor: update read_buffer/src/row_group.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-01-18 12:05:11 +00:00
Edd Robinson a82bf8de78 refactor: Update read_buffer/src/chunk.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-01-18 12:05:11 +00:00
Edd Robinson 26d11be09c refactor: wire up read_aggregate to chunk 2021-01-18 12:05:11 +00:00
Edd Robinson eaabb82404 refactor: wire up read_aggregate in table 2021-01-18 12:05:11 +00:00
Edd Robinson 0a4d890f31 refactor: move schema information for results into type 2021-01-18 12:05:11 +00:00
Edd Robinson 6dbb00715e refactor: rename method 2021-01-18 12:05:11 +00:00
Edd Robinson 42c0ccf274 refactor: rename method to 2021-01-18 12:05:11 +00:00
Dom b3d63dfbd1
Merge pull request #666 from influxdata/dom/ci-tags/perf
ci: output deployment tags for perf build
2021-01-18 11:52:34 +00:00
Dom d27eeebb76
Merge branch 'main' into dom/ci-tags/perf 2021-01-18 11:41:11 +00:00
Dom b9137d5c6a fix: correct grep placement 2021-01-18 11:28:51 +00:00
Dom c11dba91b1
fix: use correct capitalisation
Co-authored-by: Wojciech Kocjan <wkocjan@influxdata.com>
2021-01-18 11:28:20 +00:00
Dom 56b5751172 fix: filter docker images with specified tag 2021-01-18 11:13:50 +00:00
Andrew Lamb 71627120b9
refactor: consolidate line protocol schema creation into data_types and port code to use it (#663)
* refactor: consolidate line protocol schema creation into data_types, and port code to use it

refactor: Port mutable buffer to use SchemaBuilder

* fix: doctest

* refactor: remove unecessary clippyisms

* docs: Improve comments via suggestions from code review

Co-authored-by: Edd Robinson <me@edd.io>

* refactor: use more idomatic try_ naming and TryInto trait

* docs: Change from line protocol data model to InfluxDB data model

* refactor: rename LP --> Influx in code

* feat: add support for UInteger type

Co-authored-by: Edd Robinson <me@edd.io>
2021-01-15 17:29:30 -05:00
Carol (Nichols || Goulding) 07c3401887
Merge pull request #670 from influxdata/cn/break-up-osp 2021-01-15 15:45:04 -05:00
Carol (Nichols || Goulding) 979458034a refactor: Extract PathPart to its own module
And be more explicit about the privacy of the inner String
2021-01-15 15:29:01 -05:00
Carol (Nichols || Goulding) 004fb8f803 refactor: Extract a file module for file-based paths 2021-01-15 15:26:35 -05:00
Carol (Nichols || Goulding) ac22d2bb44 refactor: Extract a cloud module to deal with cloud paths 2021-01-15 15:24:49 -05:00
Carol (Nichols || Goulding) f8956dfbe8 refactor: Extract a module for the parsed DirsAndFileName structure 2021-01-15 15:24:48 -05:00
Carol (Nichols || Goulding) 36b60c3232
Merge pull request #665 from influxdata/cn/file-osp 2021-01-15 15:11:07 -05:00
Carol (Nichols || Goulding) 29b2bcc5a2
Merge branch 'main' into cn/file-osp 2021-01-15 14:48:55 -05:00
Andrew Lamb 96ec8fb53a
Merge branch 'main' into dom/ci-tags/perf 2021-01-15 13:21:16 -05:00
Andrew Lamb 628405bd53
refactor: move db predicate conversion to its own module (#664) 2021-01-15 13:21:00 -05:00
Andrew Lamb 339819f7cd
Merge branch 'main' into dom/ci-tags/perf 2021-01-15 12:46:16 -05:00
Dom 601cff9d53
build: move serde_json to dev deps for API client (#667)
The serde_json package is only actually used in tests, so doesn't need to be
part of the API client dependencies.

This also relaxes the version pin as it was conflicting with dependencies in
other projects.
2021-01-15 11:31:20 -05:00
Dom 3acdc9818f ci: output deployment tags for perf build
Once the perf image build is complete, output the JSON metadata needed
to deploy the container.
2021-01-15 16:02:18 +00:00
Carol (Nichols || Goulding) 813092649d fix: Make file behave the same as other object stores with paths 2021-01-15 10:25:05 -05:00
Carol (Nichols || Goulding) 0415d4a186 fix: Only treat PathBuf ending parts that match one of our extensions as file names 2021-01-15 10:15:00 -05:00
Carol (Nichols || Goulding) 25cc396f5e test: Handle macOS temp directories that start with . better 2021-01-15 10:15:00 -05:00
Edd Robinson 0fb271015d
Merge pull request #662 from influxdata/er/refactor/read_buffer/api
refactor: clean up public Read Buffer API
2021-01-15 13:13:59 +00:00
Edd Robinson 7f4f44211f test: fix broken test 2021-01-15 12:54:24 +00:00
Edd Robinson c6ff633afd test: expose internals for benchmarking
This commit is a bit of a hack. The first thing I could think of. The
problem is that I want to be able to benchmark various modules in the
read buffer but I don't want to expose those internals via the external
API.

Becuase criterion only lets you exercise the exported API I needed to
expose some internals. I did this by creating a documented module
`benchmarks` in the `read_buffer` crate, which re-exports identifiers
that can be used by a criterion crate.

The idea is that it will be clear that this module is not part of the
public API.
2021-01-14 22:46:27 +00:00
Edd Robinson d55bc4835a refactor: rename method 2021-01-14 21:45:54 +00:00
Edd Robinson d82293ba23 refactor: add API method 2021-01-14 21:26:50 +00:00
Edd Robinson 1d5bc6f345 refactor: expose column_names for getting tag keys 2021-01-14 21:26:50 +00:00
Edd Robinson 676b58dc2c fix: ensure correct chunks used 2021-01-14 21:26:50 +00:00
Edd Robinson 4c4d2e8e67 refactor: add API method for read_aggregate_window 2021-01-14 21:26:50 +00:00
Edd Robinson 3026668878 refactor: add API method for read_aggregate 2021-01-14 21:26:50 +00:00
Edd Robinson bdb8a78569 refactor: reduce expose API 2021-01-14 21:26:50 +00:00
Andrew Lamb 8bc561bb7a
refactor: Remove last overloading of 'server' module name (#653)
* refactor: Remove last duplicate 'server'

* refactor: move names to the data_types crate
2021-01-14 13:52:00 -05:00
Dom 676ad1d348
build: add jq to the actual build image (#661)
Try #659 again - I accidentally put jq in the wrong build container...
2021-01-14 13:24:00 -05:00
Hu Ming 99605b27d7
chore: rename (#660) 2021-01-14 12:49:03 -05:00
Dom d4ac68d9f5
Merge pull request #659 from influxdata/dom/jq-ci-image
build: include jq in CI image
2021-01-14 17:37:08 +00:00
Dom 30d9162138 build: include jq in CI image
Adds jq to the builder image used for CI runs.

This lets us use some existing scripts provided by the deployments team for
consistency.
2021-01-14 17:01:36 +00:00
Dom 8f10900f60
Merge pull request #650 from influxdata/dom/iox-api-client
feat: IOx API client
2021-01-14 15:50:16 +00:00