Commit Graph

2176 Commits (bbfc49bacda5765841726ddc930f26c6abf1cdc8)

Author SHA1 Message Date
Andrew Lamb eca92b69da
feat: implement format parameter on sql query endpoint (#870)
* feat: implement format parameter on sql query endpoint

* feat: include Content-Type header

* fix: return proper JSON

* test: add tests for JsonArrayWriter

* refactor: remove use of tempfile

* fix: clippy / fmt
2021-02-26 11:43:03 +00:00
Raphael Taylor-Davies fdcb8baec1
feat: conversion to/from data_types and generated_types (#848) 2021-02-26 10:10:47 +00:00
Jacob Marble 9323da43d9 chore: fix example 2021-02-25 17:33:48 -08:00
Jacob Marble b5f2bd27d1 chore: improve readme
Add admin calls to set writer ID and create a database.
2021-02-25 17:33:48 -08:00
Andrew Lamb 12deacd8a0
refactor: move SeriesSetPlans into its own module (#878)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-25 23:12:39 +00:00
kodiakhq[bot] 933851266f
Merge pull request #874 from influxdata/cn/one-bucket-to-rule-them-all
feat: Consolidate all bucket config into one option/env var
2021-02-25 21:10:00 +00:00
Carol (Nichols || Goulding) ac88bb98f9 docs: Clarify more about TEST_INTEGRATION in regards to both crates that use it 2021-02-25 15:53:20 -05:00
Carol (Nichols || Goulding) ecfd2b9689 fix: Use the flag name, not the struct field name 2021-02-25 15:53:20 -05:00
Carol (Nichols || Goulding) c7ef18337c feat: Consolidate all bucket config into one option/env var
Fixes #869.
2021-02-25 15:53:20 -05:00
kodiakhq[bot] 67ace113ae
Merge pull request #877 from influxdata/tustvold/smaller-deploy-image/perf
feat: smaller IOx build images
2021-02-25 17:11:37 +00:00
Raphael Taylor-Davies 96f9395299 feat: smaller IOx build images 2021-02-25 15:05:54 +00:00
kodiakhq[bot] 5e4053144e
Merge pull request #876 from influxdata/alamb/update_deps
chore: Update arrow/datafusion deps again
2021-02-25 13:39:16 +00:00
kodiakhq[bot] 76921bdef9
Merge branch 'main' into alamb/update_deps 2021-02-25 13:24:32 +00:00
Raphael Taylor-Davies ffc20fa821
feat: add basic gRPC health service (#862)
* feat: add basic gRPC health service

* feat: update README.md add /health to HTTP API

* feat: add health client to influxdb_iox_client

feat: end-to-end test health check service

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-25 13:24:12 +00:00
Andrew Lamb d29d7efa8c chore: Update arrow/datafusion deps again 2021-02-25 07:39:01 -05:00
Andrew Lamb 8fb7651719
feat: Port tag_values to the InfluxRPCPlanner (#859)
* feat: Port tag_values to the InfluxRPCPlanner

* refactor: merge imports

* refactor: rename column_names to tag_column_names for clarity

* fix: Update query/src/frontend/influxrpc.rs

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* refactor: use ensure!

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* refactor: less silly whitespace

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* fix: code review comments

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-24 23:11:22 +00:00
Marko Mikulicic 4e338cd7e8 fix: Remove test for non-existing DNS record 2021-02-24 22:30:20 +00:00
Marko Mikulicic 12b768b8f1 fix: Escape empty string PathPart
Empty directory names are silently ignored and can lead to very surprising effects
such as directory layouts missing a level. This makes it hard to reason about directory structures.

A sane object store path API should either disallow empty names or deal with them gracefully.

Since we already have to escape file/directory names using the minimum common denominator valid character
set for known cloud providers, it feels quite natural to treat this empty dir/file name problem as encoding problem.
2021-02-24 21:13:56 +00:00
kodiakhq[bot] 7f96515968
Merge pull request #847 from influxdata/grpc-management-api-stubs
feat: gRPC management api stubs
2021-02-24 14:30:05 +00:00
kodiakhq[bot] afef7e9ba0
Merge branch 'main' into grpc-management-api-stubs 2021-02-24 14:15:41 +00:00
kodiakhq[bot] b7bb601b89
Merge pull request #866 from influxdata/readapi
feat: Implement /iox/api/v1/databases/:name/query?q=
2021-02-24 11:24:15 +00:00
Marko Mikulicic 5446f543d6
feat: Implement /iox/api/v1/databases/:name/query?q=
Partially implements #726

TODO in another PR: `format` parameter. This PR implements the pretty print format.
2021-02-24 12:06:56 +01:00
kodiakhq[bot] f5f96b0db0
Merge pull request #864 from influxdata/ntran/update_gitignore2
chore: add DS_Store into .gitignore to avoid unecessary noises
2021-02-23 22:04:16 +00:00
kodiakhq[bot] 331421bcfd
Merge branch 'main' into ntran/update_gitignore2 2021-02-23 21:50:13 +00:00
NGA TRAN 4f186f9e3e chore: add DS_Store into .gitignore to avoid unecessary noises 2021-02-23 16:30:41 -05:00
Marko Mikulicic 9e521a2ea1 feat: Plug GCS list_with_delimiter impl
And fix env.example. Now GCS can be used to persist snapshots.
2021-02-23 21:06:53 +00:00
Raphael Taylor-Davies 4009a89239 feat: add buf linting in CI 2021-02-23 19:46:45 +00:00
Andrew Lamb ed7859e182
refactor: rename tag_column_names --> tag_keys in InfluxRPCPlanner (#860) 2021-02-23 17:04:53 +00:00
Raphael Taylor-Davies a7a77d9cd7 refactor: remove unused Replication message 2021-02-23 17:02:15 +00:00
Raphael Taylor-Davies 0fc711c9df fix: don't use default Matcher.table_matcher "variant" 2021-02-23 16:59:39 +00:00
Marko Mikulicic 9860def4b2 feat: Add S3 plumbing to iodx config 2021-02-23 14:55:55 +00:00
Raphael Taylor-Davies 1294d28f56 refactor: fix style errors 2021-02-23 10:55:09 +00:00
kodiakhq[bot] 4a928ee91a
Merge pull request #802 from influxdata/cn/google-list-with-delimiter
feat: Implements list_with_delimiter for Google Cloud
2021-02-22 20:24:23 +00:00
kodiakhq[bot] dce78eca3f
Merge branch 'main' into cn/google-list-with-delimiter 2021-02-22 20:10:40 +00:00
kodiakhq[bot] 3b4d7af337
Merge pull request #805 from influxdata/pd-mutable-buffer-data-eviction
feat: Add functionality to limit mutable buffer size and evict partitions
2021-02-22 20:10:24 +00:00
kodiakhq[bot] c355da3ed7
Merge branch 'main' into pd-mutable-buffer-data-eviction 2021-02-22 19:57:35 +00:00
kodiakhq[bot] 3502f96ab9
Merge branch 'main' into cn/google-list-with-delimiter 2021-02-22 19:42:49 +00:00
Andrew Lamb dd0810c18d
docs: Refer to the example env file and clarify comments (#851)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-22 19:42:30 +00:00
Raphael Taylor-Davies 43371a344c chore: documentation fixes 2021-02-22 19:38:42 +00:00
Carol (Nichols || Goulding) 0aee605544 Merge remote-tracking branch 'origin/main' into pd-mutable-buffer-data-eviction 2021-02-22 14:13:34 -05:00
kodiakhq[bot] d9e5db2e86
Merge pull request #840 from influxdata/jg/parking-lot
refactor: Use parking_lot::Mutex instead of std::sync::Mutex
2021-02-22 19:05:55 +00:00
Jake Goulding 6e6cc616a0 refactor: Switch to parking_lot::Mutex 2021-02-22 13:51:31 -05:00
Jake Goulding 2bd09612bd refactor: Enable parking lot for dependencies 2021-02-22 13:37:35 -05:00
Jake Goulding 6603ecd758 refactor: Unify on once_cell
This is closest in API to what is likely to be added to the standard
library at some point, so let's use it consistently.
2021-02-22 13:37:35 -05:00
Raphael Taylor-Davies 5aee25451b feat: gRPC management API definitions 2021-02-22 18:07:36 +00:00
Raphael Taylor-Davies dd8b41cdb0
feat: encoding of standard gRPC error details payloads (#846)
* feat: encoding of standard gRPC error details payloads

* feat: return unknown error on failure to encode error details

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-02-22 18:03:17 +00:00
Carol (Nichols || Goulding) cff12da3a1 fix: Upgrade to released version of cloud_storage
Fixes #801.
2021-02-22 13:01:06 -05:00
Carol (Nichols || Goulding) a42103f436 Merge remote-tracking branch 'origin/main' into cn/google-list-with-delimiter 2021-02-22 12:53:46 -05:00
Carol (Nichols || Goulding) c6becbd544 fix: Use structured log output for partition dropping 2021-02-22 12:46:48 -05:00
Carol (Nichols || Goulding) 45f4855d2e fix: Sort data in tests to avoid spurious failures
The implementation of this function is ultimately the keys from a
HashMap, and that order isn't guaranteed. Not sure if the function needs
a stable ordering, so I didn't want to add the performance hit to the
function. Adding it to the test ensures it keeps passing (I saw it fail
a few times locally).
2021-02-22 12:34:08 -05:00