apache/pinot

`SchemaUtils` Doesn't Show the Actual Reason for Validation Failure

Open

#14,787 opened on Jan 9, 2025

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (1,234 forks)batch import
buggood first issue

Repository metrics

Stars
 (4,937 stars)
PR merge metrics
 (Avg merge 7d 17h) (190 merged PRs in 30d)

Description

Often when our customers try to deploy, Pinot returns Schema is incompatible with tableConfig with no details about the root-cause. We should try to return the exact reason why the Schema validation had failed.

https://github.com/apache/pinot/blob/6a8bdb5e5e691381cda5122b03c6c3fd7b6fd265/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/SchemaUtils.java#L170-L181

Contributor guide