Skip to content

Validate tags and fields when creating tables using the same rules as the line protocol parser #26486

@hiltontj

Description

@hiltontj

Problem

When creating a table directly in the catalog, e.g., via the HTTP API or CLI, the underlying catalog method is not validating the tag names with the same rules that are enforced by the line protocol parser.

Proposed solution

Use the same parsers that are provided by the influxdb_line_protocol crate to validate the tag keys and field keys to validate the values passed to the table creation method in the catalog here.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions