haibow opened a new pull request #4838: Update schema API to reload table on 
schema change when applicable
URL: https://github.com/apache/incubator-pinot/pull/4838
 
 
   Add the option to reload tables automatically when a backward-compatible 
schema is updated.
   
   Updated API:
   `/schemas/{schemaName}`:
   - add QueryParam("shouldAutoReload") with default "false" to keep the 
behavior same with before.
   - when shouldAutoReload=true, if the new schema is backward compatible with 
the old one, tables using the schema will be automatically reloaded.
   
   `/schemas`
   - add QueryParam("shouldOverride") with default "true" to keep the behavior 
same with before.
   - when shouldOverride=false, if the schema with the same name already 
exists, the add schema action would be rejected (to address the previous TODO 
"This should not update if the schema already exists")
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to