You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Usiel (via GitHub)" <gi...@apache.org> on 2023/03/23 05:14:27 UTC
[GitHub] [superset] Usiel opened a new issue, #23464: Creating Time-series Line Chart with high cardinality always times out
Usiel opened a new issue, #23464:
URL: https://github.com/apache/superset/issues/23464
Creating Time-series Line Chart with high cardinality always times out due to inefficiencies in the `pandas_postprocessing.pivot` module.
The example below may seem slightly constructed, but I think it's likely that a Superset user will come across this at some point: They want to build a time-series chart and inadvertently create high cardinality groupings without setting a series limit. Currently, they will be confronted with a timeout and be non the wiser. With a minor optimization we can instead show them the data they requested and they can make a decision from there.
A better solution than a simple performance fix would be imo, if Superset would make a decision and apply a series limit for the user, but I figure that would be more of a feature request :)
#### How to reproduce the bug
1. Explore the example dataset `cleaned_sales_data`
2. Add multiple dimensions (e.g. `contact_first_name, contact_last_name, phone`)
3. Add any metric
4. Select the `Time-series Line Chart`
5. Click on "Update Chart"
### Expected results
Chart should load within a few seconds
### Actual results
Chart will time out or take a very long time
#### Screenshots

### Environment
(please complete the following information):
- superset version: `2.0.1`, `2.1.0rc3` and latest `master@7ef06b0a6`
- python version: `3.8.13`
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [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.
### Additional context
I will open a PR shortly and link to this issue.
--
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.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
Re: [I] Creating Time-series Line Chart with high cardinality always times out [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #23464: Creating Time-series Line Chart with high cardinality always times out
URL: https://github.com/apache/superset/issues/23464
--
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
Re: [I] Creating Time-series Line Chart with high cardinality always times out [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23464:
URL: https://github.com/apache/superset/issues/23464#issuecomment-1961781357
This is likely fixed by now, and is pretty out of date if not. If people are still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem.
--
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