Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: store series ID as bytes using new column type #24902

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hiltontj
Copy link
Contributor

@hiltontj hiltontj commented Apr 9, 2024

Part of #24845

This is PR is in draft, as it is experimental.

This utilizes the experimental changes in influxdb3_core that add native support for a SeriesId column type, that holds a 32-byte array (corresponding PR in core: influxdata/influxdb3_core#12).

The change is fairly minimal, if ignoring the Cargo.lock, Cargo.toml, and a test that needed to be fixed, it is only a 38 LOC change.

The test that is failing is due to the fact that the JSON formatter we are using from Datafusion can not handle the FixedSizeBinary field type when writing JSON to the query API response. Interestingly, other formats work, including pretty/csv, which automatically encode it as HEX.

@hiltontj hiltontj self-assigned this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant