Commit Graph

184 Commits (697998a48f6c387b826222b63a6b20c8af5e025b)

Author SHA1 Message Date
Edd Robinson d429cf9aeb refactor: tighten up Read Buffer API 2021-04-08 10:24:19 +00:00
Edd Robinson dae9f12593 refactor: remove deprecated API 2021-04-08 10:24:19 +00:00
Edd Robinson 721a784ce0 refactor: concrete type to keep streams happy 2021-04-08 10:19:11 +00:00
Edd Robinson 17853266ce refactor: add helper method for all names 2021-04-08 10:19:11 +00:00
Edd Robinson 9e1068b7de refactor: db to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson cab7d1d1fe refactor: chunk size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson 7dd5924059 refactor: table size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson b867599fce refactor: row group size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson 40abe24123 refactor: encoding size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson ea2c882635 refactor: tidy up 2021-04-07 10:46:08 +00:00
Edd Robinson b524b4411e test: move test for table_summaries into chunk 2021-04-07 10:46:08 +00:00
Edd Robinson a662d5e180 refactor: expose column_values at chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson 7bee168752 refactor: chunk upsert does not need &mut 2021-04-07 10:46:08 +00:00
Edd Robinson e8ff86279f refactor: move column_names to chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson 03b72cc80d feat: add chunk predicate check 2021-04-07 10:46:08 +00:00
Edd Robinson c2e0c80f8c refactor: expose read_filter at chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson bc3560af8c test: add coverage for has_table 2021-04-07 10:46:08 +00:00
Edd Robinson 0c32cb48c7 feat: add read_filter schema method 2021-04-07 10:46:08 +00:00
Edd Robinson d39fe8abf8 refactor: add ability to upsert table 2021-04-07 10:46:08 +00:00
Edd Robinson 2129c2a725 refactor: make some methods crate-visible 2021-04-07 10:46:08 +00:00
Edd Robinson 5eea06c9b3 refactor: allow empty chunks 2021-04-07 10:46:08 +00:00
Andrew Lamb b61875e0b2
feat: Add TableSummary calculation to ReadBuffer (#1092) 2021-03-31 16:26:37 +00:00
Andrew Lamb 6a48001d13
refactor: Manage storage directly in the Catalog (#1057)
* refactor: Manage mutable buffer chunks directly

* fix: do not use mutable_buffer for listing table names
2021-03-29 17:55:07 +00:00
Andrew Lamb 895e808754
chore: Upgrade arrow deps (#1046)
* chore: Upgrade dependencies

* chore: upgrade query for new interfaces

* chore: update read_buffer
2021-03-25 13:35:08 +00:00
Edd Robinson 585213e51f refactor: return error for wrong group columns 2021-03-23 14:41:06 +00:00
Edd Robinson cadc92dac9 refactor: remove dead code 2021-03-22 20:47:48 +00:00
Edd Robinson 300ac2e411 refactor: simplify aggregate_columns 2021-03-22 20:47:48 +00:00
Edd Robinson dd0ab422d2 refactor: remove redundant type 2021-03-22 20:47:48 +00:00
Edd Robinson dea4f1c451 refactor: remove type from row_group 2021-03-22 20:47:48 +00:00
Edd Robinson dfd39cfce6 refactor: apply suggestions from code review
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 3e9b2fff5c refactor: Update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ce55dd7ce3 refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson b44dc7d9a1 refactor: update read_buffer/src/value.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 326016966f refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ffa06e4f0e test: more test coverage 2021-03-22 16:15:49 +00:00
Edd Robinson e5f7cc143a refactor: use AggregateVec for results 2021-03-22 16:15:49 +00:00
Edd Robinson 3725161fc3 refactor: use AggregateVec on rle grouping 2021-03-22 16:15:49 +00:00
Edd Robinson fd7cdc4fa4 refactor: remove single column group_by 2021-03-22 16:15:49 +00:00
Edd Robinson 9c48cebf78 refactor: column-wise aggregates 2021-03-22 16:15:49 +00:00
Edd Robinson d88e20c7fe fix: fix bad expected cardinality 2021-03-22 16:15:49 +00:00
Andrew Lamb 6e1795fda0
refactor: Move some types (not yet exposed to clients) into internal_types (#1015)
* refactor: Move some types (not yet exposed to clients) into internal_types

* docs: Add README.md explaining the rationale

* refactor: remove some stragglers

* fix: fix benches

* fix: Apply suggestions from code review

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

* fix: add clippy lints

* fix: fmt

* docs: Apply suggestions from code review

fix typos

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-03-19 16:27:57 +00:00
Raphael Taylor-Davies 65f7a1ac5b
fix: use consistent crate versions (#989)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-15 15:42:19 +00:00
Andrew Lamb 6ac7e2c1a7
feat: Add management API and CLI to list chunks (#968)
* feat: Add management API and CLI to list chunks

* fix: Apply suggestions from code review

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

* fix: add comment to protobuf

* fix: fix comment

* fix: fmt, fixup merge errors

* fix: fascinating type dance with prost generated types

* fix: clippy

* fix: move command to influxdb_iox database chunk list

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-12 13:56:14 +00:00
Edd Robinson 41a0784603 refactor: enable clipp Self 2021-03-02 15:51:13 +00:00
Edd Robinson 58f5ad5da2 refactor: tidy up with clippy 2021-03-01 18:45:39 +00:00
Edd Robinson 5b329996a9 refactor: update read_buffer/src/chunk.rs
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-03-01 11:42:54 +00:00
Edd Robinson 5bf164f5a9 refactor: PR feedback 2021-03-01 11:42:54 +00:00
Edd Robinson 01791fbc07 feat: wire up column_values to exposed API 2021-03-01 11:42:54 +00:00
Edd Robinson d9e8132a3a refactor: wire up column_values for row_group 2021-03-01 11:42:54 +00:00
Edd Robinson 9b1346ddea feat: wire up checking non-null values on dictionaries 2021-03-01 11:42:54 +00:00