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 2022/11/04 15:35:32 UTC
[GitHub] [superset] gpineda-dev commented on issue #21977: API : create new slice from existing dataset -- 'Dataset' object has no attribute 'perm'
gpineda-dev commented on issue #21977:
URL: https://github.com/apache/superset/issues/21977#issuecomment-1303772512
Well ... after further investigations, I figured out the field `datasource_type` when posting a new chart should be set to `table`.
Indeed, when exporting a dataset, the assigned type is `SqlTable` and not `Dataset`.
```yaml
version: 1.0.0
type: SqlaTable
timestamp: '2022-11-02T21:31:19.667070+00:00'
```
> content of `metadata.yaml`
Then I think this "bug" is somehow fixed when knowning more about the Superset structure.
--
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