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/02/06 09:35:32 UTC

[GitHub] [superset] mayurnewase opened a new issue #18591: [dataset]: Can't create multiple virtual datasets from same table.

mayurnewase opened a new issue #18591:
URL: https://github.com/apache/superset/issues/18591


   A clear and concise description of what the bug is.
   
   Can't create multiple virtual datasets based on physical datasets due to unique constraint present on Sql Metrics in https://github.com/apache/superset/blob/master/superset/connectors/sqla/models.py#L427
   And moreover Sqllab UI doesn't show reason but just generic error like below causing confusion for users.
   ![image](https://user-images.githubusercontent.com/12967587/152674993-25bdca4d-8ccc-4b3b-be68-5319abd17b93.png)
   
   
   #### How to reproduce the bug
   
   1. Create 1 physical dataset
   2. From sqllab select subset of data and click on explore to create virtual dataset.
   3. Repeat 2, will throw error.
   
   ### Expected results
   Should be able to create multiple virtual datasets.
   
   ### Environment
   
   (please complete the following information):
   - superset version: `latest master`
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
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


[GitHub] [superset] mayurnewase closed issue #18591: [dataset]: Can't create multiple virtual datasets from same table.

Posted by GitBox <gi...@apache.org>.
mayurnewase closed issue #18591:
URL: https://github.com/apache/superset/issues/18591


   


-- 
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