Skip to content

feat: [influxdb] v3 support — http + flight sql + flux fixes#985

Draft
crandles wants to merge 12 commits into
trickstercache:mainfrom
crandles:influx-3
Draft

feat: [influxdb] v3 support — http + flight sql + flux fixes#985
crandles wants to merge 12 commits into
trickstercache:mainfrom
crandles:influx-3

Conversation

@crandles
Copy link
Copy Markdown
Contributor

@crandles crandles commented Apr 18, 2026

Description

Closes #984.

  • v3 HTTP SQL + InfluxQL via /api/v3/*, json/jsonl/csv response formats, /api/v3/write_lp passthrough
  • Flight SQL (gRPC) proxy: per-backend flight_port, IPC-byte cache, header forwarding, daemon shutdown + SIGHUP reload
  • Flight SQL metadata RPCs (Tables, Catalogs, Schemas, TableTypes, SqlInfo) and prepared-statement lifecycle (Create/Execute/Close/DoPut), cache key includes bound-param hash
  • SQL parser handles both date_bin() and date_trunc() bucketing
  • Flux: now() in range(), balanced-paren tokenization for nested calls, multi-table CSV reads — was silently falling through to HTTPProxy on common Grafana shapes
  • Dev env: influxdb3 compose service + side-by-side dashboard exercising metadata RPCs; verify-influxdb3.sh for direct HTTP SQL

InfluxDB 3 Core 3.10 returns a parameter schema at prepare time but doesn't resolve bound values during planning ("No value found for placeholder"). Parameterized prepared statements fail at the upstream, not the proxy; integration test for that path omitted pending upstream fix.

Follow-ups:

Type of Change

    • Bug fix
    • New feature
    • Test coverage
    • Documentation

AI Disclosure

    • This contribution DOES include AI-generated changes, and I have reviewed the relevant contributing guidelines.

@crandles crandles added influxdb Issue affects InfluxDB enhancement New feature or request labels Apr 18, 2026
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
…nts, lifecycle

Signed-off-by: Chris Randles <randles.chris@gmail.com>
…ge()

Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
…atasources, dashboard

Signed-off-by: Chris Randles <randles.chris@gmail.com>
@crandles crandles changed the title feat: [influxdb] v3 support (HTTP SQL + InfluxQL + Flight SQL) feat: [influxdb] v3 support — http sql/influxql + flight sql + metadata + flux fixes Apr 19, 2026
…e dev env readme

Signed-off-by: Chris Randles <randles.chris@gmail.com>
@crandles crandles changed the title feat: [influxdb] v3 support — http sql/influxql + flight sql + metadata + flux fixes feat: [influxdb] v3 support — http + flight sql + flux fixes Apr 20, 2026
…olumn

Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request influxdb Issue affects InfluxDB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add InfluxDB 3.x support

1 participant