Stuart Carnie
707a700481
chore: Remove unnecessary Result type
2023-05-09 12:59:56 +10:00
Stuart Carnie
54c063cc67
fix: field_and_dimensions doesn't error
2023-05-09 12:48:22 +10:00
Stuart Carnie
01744865b2
fix: Don't skip explicit reference to Tag fields
2023-05-09 12:47:24 +10:00
Stuart Carnie
bd760330f2
feat: Initial experimental subquery support
2023-05-09 09:42:49 +10:00
Stuart Carnie
4fc5a90d60
chore: Update docs
2023-05-09 09:24:19 +10:00
Stuart Carnie
74b5c32440
refactor: Cleanup rewriter
2023-05-09 09:24:19 +10:00
Stuart Carnie
e4b6a8f77a
chore: Resolve aliases for all `SELECT` queries, not just the outer
2023-05-09 09:24:18 +10:00
dependabot[bot]
68117aee0f
chore(deps): Bump libc from 0.2.142 to 0.2.144 ( #7766 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.142 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.142...0.2.144 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 19:12:58 +00:00
kodiakhq[bot]
ad28ebb765
Merge pull request #7757 from influxdata/cn/rename-ingester2
...
fix: Rename ingester2 to ingester
2023-05-08 16:09:28 +00:00
Carol (Nichols || Goulding)
d8b56888a7
feat: Add a command alias so that 'influxdb_iox run ingester2' runs ingester
2023-05-08 12:03:05 -04:00
Carol (Nichols || Goulding)
56916cf942
fix: Rename ingester2 to ingester
2023-05-08 12:03:05 -04:00
Andrew Lamb
be6bcdef45
fix: do not panic on unimplemented ( #7765 )
2023-05-08 15:13:54 +00:00
kodiakhq[bot]
dc1a9e9ed6
Merge pull request #7762 from influxdata/dom/fix-flappy-tests
...
test(ingester): fix flappy tests
2023-05-08 13:36:17 +00:00
Carol (Nichols || Goulding)
5378740424
fix: don't share DeferredLoad instances between tests
2023-05-08 12:30:19 +02:00
Carol (Nichols || Goulding)
edf5b310e3
fix: don't share Executor instances between tests
...
And remove some executor instances where they're not even being used
2023-05-08 12:26:27 +02:00
Andrew Lamb
2860d87fe1
chore: Update DataFusion ( #7756 )
...
* chore: Update DataFusion pin
* chore: Update explain plans
* chore: Run cargo hakari tasks
---------
Co-authored-by: CircleCI[bot] <circleci@influxdata.com>
2023-05-05 18:58:18 +00:00
dependabot[bot]
aa70b14fe4
chore(deps): Bump rustix from 0.37.18 to 0.37.19 ( #7752 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.37.18 to 0.37.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.18...v0.37.19 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 15:47:26 +00:00
dependabot[bot]
da6e123e9d
chore(deps): Bump serde from 1.0.160 to 1.0.162 ( #7751 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-05 13:29:50 +00:00
kodiakhq[bot]
bd9507414b
Merge pull request #7754 from influxdata/sgc/issue/7739_select_ir_03
...
refactor: Remove fragile `is_tag_field` API
2023-05-05 07:52:57 +00:00
Stuart Carnie
9227bc032f
chore: Remove fragile `is_tag_field` API
2023-05-05 17:15:59 +10:00
Stuart Carnie
3099733de6
chore: Introduce root `SelectQuery`
...
This is used to gather shared state for the query vs `Select`, which
represents state for each `SELECT` statement.
First example is tracking whether a statement projects multiple
unique measurements. This changed improved one of the plans, as it
no longer needs to sort the `iox::measurement` column.
2023-05-05 16:48:27 +10:00
Stuart Carnie
455c78966c
chore: Remove unused API
2023-05-05 16:15:22 +10:00
kodiakhq[bot]
2ba5fb4759
Merge pull request #7753 from influxdata/sgc/issue/7739_select_ir_02
...
refactor: Use intermediate representation of `SELECT` in InfluxQL planner
2023-05-05 06:06:09 +00:00
Stuart Carnie
f026d546b0
chore: Refactor `select_statement_to_plan`
...
This is an improvement over the previous version, and prepares the
planner for implementing subqueries and passing schema to the
`project_select` function.
2023-05-05 13:35:32 +10:00
Stuart Carnie
e7d6819602
chore: Correct docs
2023-05-05 12:25:58 +10:00
Stuart Carnie
575f3bb078
Merge branch 'main' into sgc/issue/7739_select_ir_02
2023-05-05 12:22:07 +10:00
Stuart Carnie
a218d97dcf
chore: Use `Select` rather than `SelectStatement` in planner
2023-05-05 12:17:15 +10:00
Stuart Carnie
03b4195976
chore: Rename TableReference to DataSource to avoid conflicts with DF
2023-05-05 11:03:56 +10:00
Stuart Carnie
8deb1832e7
chore: Expose TypeEvaluator for more efficient type evaluation
2023-05-05 10:54:45 +10:00
Stuart Carnie
7b19bf014b
chore: Reorganise `rewrite_statement` unit tests
2023-05-05 10:12:17 +10:00
Stuart Carnie
8b60a95a77
chore: Unnecessary use of `borrow`
2023-05-05 10:12:02 +10:00
Stuart Carnie
f8b1d37d5a
fix: Consistent alias names with InfluxQL OG
...
Fixes #7750
2023-05-05 10:11:37 +10:00
Joe-Blount
af726e092f
chore: add plan_id to compactor logging ( #7749 )
2023-05-04 22:10:48 +00:00
Stuart Carnie
7e47d48d01
chore: SLIMIT and SOFFSET are not implemented
2023-05-05 07:48:20 +10:00
kodiakhq[bot]
743a548a6b
Merge pull request #7741 from influxdata/sgc/issue/7739_select_ir_01
...
feat: Create intermediate representation of `SelectStatement`
2023-05-04 21:13:17 +00:00
Stuart Carnie
593d3354ca
Merge branch 'main' into sgc/issue/7739_select_ir_01
2023-05-05 07:07:41 +10:00
Christopher M. Wolff
55b35367ac
test: add test for gap fill query missing time bounds ( #7747 )
...
* test: add test for gap fill query missing time bounds
* chore: update unit test
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 21:01:45 +00:00
Stuart Carnie
a81c1d328a
Merge branch 'main' into sgc/issue/7739_select_ir_01
2023-05-05 06:51:48 +10:00
Joe-Blount
187ad74435
chore: add compactor logging detail ( #7748 )
2023-05-04 20:33:58 +00:00
Stuart Carnie
85f461fbda
Merge branch 'main' into sgc/issue/7739_select_ir_01
2023-05-05 06:29:21 +10:00
Phil Bracikowski
8b87a10fe0
fix(garbage collector): larger list batches and another tunable ( #7738 )
...
This PR increases the batch/page size of list operations in the gc 10x
to 10,000; it introduces a new cli config for the sleep interval between
batches. Previously a single sleep config was used between batches and
between entirely new list operations. This PR also moves to debug some
noisy logging.
* tag to #7689
2023-05-04 17:47:28 +00:00
Chunchun Ye
a98952bff6
feat(flightsql): Support `CommandGetXdbcTypeInfo` metadata endpoint with actual data type info ( #7696 )
...
* chore: add expected xdbc type info value to jdbc test
* chore: add query skeleton to kick off plan_get_xdbc_type_info()`
* chore: implement a minimun version query for type info
* chore: rewrite `plan_get_xdbc_type_info` to use a static recrod batch
* chore: construct create_params as a string list
* chore: add create_params column in e2e test result
* chore: re-define create_params list items to be non-nullable
* chore: remove comment
* chore: refactor TYPE_INFO_RECORD_BATCH using XdbcTypeInfo struct and rewrite metadata for character types
chore: lint
chore: lint doc
chore: lint doc use automatic link
* chore: add unimplemented error msg
* chore: add `INTEGER`, `FLOAT`, `TIMESTAMP`, `INTERVAL` and remove `CHAR`, `TEXT`, `STRING`
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 17:22:57 +00:00
Carol (Nichols || Goulding)
ef9ef75e56
fix: Remove unsupported TemplatePart variants ( #7746 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 16:20:18 +00:00
Marco Neumann
91867e8a59
refactor: simplify `{First,Last}Selector` ( #7745 )
...
* refactor: lift selector creation
* refactor: simplify `FirstSelector`
* refactor: simplify `LastSelector`
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 15:24:39 +00:00
Carol (Nichols || Goulding)
b0959667d5
fix: Move topic and query pool within iox catalog ( #7734 )
...
Still insert them into the database and associate them with namespaces,
but don't ever query them back out.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 13:45:56 +00:00
Andrew Lamb
667da5eea4
chore: Add test for `dsn-file://` catalog urls ( #7735 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 10:48:18 +00:00
Andrew Lamb
23a74111c8
chore: Stop using cargo cache in CI ( #7721 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-05-04 10:33:15 +00:00
Marco Neumann
2cfb30d5df
refactor: remove non-struct selector functions ( #7743 )
...
Clean up for #7533 .
2023-05-04 10:25:52 +00:00
Marco Neumann
e1825ec45b
refactor: use struct-style selectors in InfluxRPC ( #7742 )
...
Some clean up before I implement the core logic for #7533 .
2023-05-04 09:08:46 +00:00
Stuart Carnie
b47e0efc85
feat: Step 1 on N for an intermediate representation of `SELECT`
...
The end goal is that each `Select` node will contain a schema to be
referenced directly by the InfluxQL planner. Additionally, further
refinement of the field data types used by the `Select` node
are expected, to remove ambiguity from the planner.
2023-05-04 18:27:32 +10:00