Config Validator SPI
Overview
TableConfigValidator
Interface Definition
package org.apache.pinot.spi.config.table;
public interface TableConfigValidator {
/**
* Validates a table configuration.
*
* @param tableConfig the table configuration to validate
* @param schema the table schema (nullable)
* @throws ConfigValidationException if validation fails
*/
void validate(TableConfig tableConfig, @Nullable Schema schema)
throws ConfigValidationException;
}Registration
Invocation
InstanceConfigValidator
Interface Definition
Registration
Invocation
ConfigValidationException
Important Requirements
Thread Safety
Best Practices
Example: Table Name Prefix Validator
Example: Instance Tag Validator
Integration Points
See Also
Last updated
Was this helpful?

