apache/pinot

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

Chiusa

#14.787 aperta il 9 gen 2025

 (3 commenti) (0 reazioni) (0 assegnatari)Java (1234 fork)batch import
buggood first issue

Metriche repository

Star
 (4937 stelle)
Metriche merge PR
 (Merge medio 6g 7h) (186 PR mergiate in 30 g)

Descrizione

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

Guida contributor