apache/pinot

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

Open

#14787 opened on Jan 9, 2025

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

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