Jackie-Jiang commented on code in PR #18502:
URL: https://github.com/apache/pinot/pull/18502#discussion_r3300282734
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSchemaRestletResource.java:
##########
@@ -424,6 +448,9 @@ private void validateSchemaInternal(Schema schema) {
*/
private SuccessResponse addSchema(Schema schema, boolean override, boolean
force) {
String schemaName = schema.getSchemaName();
+ if (!force) {
Review Comment:
This is not the correct place to apply this check. Please add it into
`SchemaUtils.validate()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]