npawar opened a new pull request #5642: URL: https://github.com/apache/incubator-pinot/pull/5642
## Description Adding schema validations for 1. reserved keywords being used as field names 2. format and granularity string in dateTimeFieldSpec ## Release Notes The check for reserved keywords fails the add/update/validate of schemas containing sql keywords (e.g. timestamp, Date). As a result, **updates to existing schemas containing these keywords will fail**. Validation called on these schemas will also fail. A queryParam `validateFieldNames` has been provided to the add, update and validate schema calls. It is by default `true`. **For operations on schemas with invalid field names to be successful, this flag needs to be set to `false`.** ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org