You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/11/20 00:55:36 UTC

[GitHub] [incubator-pinot] haibow opened a new pull request #4838: Update schema API to reload table on schema change when applicable

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org