apache / apache/pinot

Json schema validation for table config

Open
#6,300 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 3h
Merged PRs (30d)
195

Description

Currently, we're doing manual checks for each field in the schema regarding data type, range etc...

Instead, we can use Json schema (https://json-schema.org/) to use annotation for auto-validation of such things.

Related to #5942

Contributor guide

Open the contributing guide

Research direction

Review the existing manual checks for each table-config schema field and the context in related issue #5942. The issue provides no file or test entry point, so first locate those checks and determine how JSON Schema annotations would cover data types and ranges; done should mean table configuration is validated through JSON Schema rather than separate manual checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.