You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/11/11 05:16:24 UTC

[GitHub] [superset] xingyuli edited a comment on issue #17390: unable to update dataset metric's label via the rest PUT api

xingyuli edited a comment on issue #17390:
URL: https://github.com/apache/superset/issues/17390#issuecomment-965996806


   > Hi @xingyuli, thanks for reporting the issue! I'm not familiar with this functionality - edit dataset via the rest PUT api. While I loop the domain expert in, would you mind giving some more details 1) your use case 2) is there a workaround that you may be aware of? thanks
   
   The rest PUT API has been used to sync from one dataset to another dataset. These two datasets refer two tables which are created by absolutely same ddl statement. You may think of these datasets as blue-green (or prod-vs-backup) version against each other. I have so many datasets created via the GUI, but I wish to programmatically  maintain the plenty of datasets.
   
   As it's not possible to specify the metric's label (verbose_name) via the API, I have to update them one by one, going through all the datasets, which is quite time consuming and inconvenient. As far as I see, I think there is no workaround to do this.
   
   For wider insight, Superset is missing features of sync one set of datasets to another set of datasets, which would be useful for cases e.g.,
   
   - blue-green dataset
   - full dataset and its hot dataset (which means a subset of whole dataset)
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org