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/01/20 07:18:45 UTC

[GitHub] [superset] svdimchenko opened a new issue #18103: Sankey diagram with loops doesn't work

svdimchenko opened a new issue #18103:
URL: https://github.com/apache/superset/issues/18103


   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Add sankey diagram with loops using instructions https://www.npmjs.com/package/@superset-ui/legacy-plugin-chart-sankey-loop 
   2. Write test query: 
   ```
   SELECT "a" AS e1,
   "b" as e2,
   7 as counts
   UNION ALL 
   SELECT "b" AS e1,
    "c" as e2,
   5 as counts
   UNION ALL 
   SELECT "c" AS e1,
    "a" as e2,
   2 as counts
   UNION ALL 
   SELECT "c" AS e1,
    "b" as e2,
   1 as counts
   ```
   3. Create chart using Sankey Diagram with Loops
   4. See error
   ![image](https://user-images.githubusercontent.com/39801237/150290230-891ec055-0c52-4b59-a26d-5454a29ec6ad.png)
   
   
   ### Expected results
   
   Build sankey diagram with loop like in examples
   ![image](https://user-images.githubusercontent.com/39801237/150290336-cec57610-f9ee-4591-a4b8-755319812ea1.png)
   
   ### Actual results
   Received error (screenshot added above)
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `1.3.2`
   - python version: `python3.8`
   - node.js version: `node 14`
   - any feature flags active: {"ALERT_REPORTS": True}
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   


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