You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "architmmmec (via GitHub)" <gi...@apache.org> on 2023/11/02 08:56:24 UTC
[I] Data not in sorted order in Pivot table [superset]
architmmmec opened a new issue, #25835:
URL: https://github.com/apache/superset/issues/25835
A clear and concise description of what the bug is.
SELECT month AS month,
month_name AS month_name,
event_type AS event_type,
no_of_days AS no_of_days,
ft AS ft,
planning_cycle_version_name AS planning_cycle_version_name,
metric_type_renamed AS metric_type_renamed,
AVG(drr_converted) AS AVG(drr_converted)
FROM TABLE
GROUP BY month,
month_name,
event_type,
no_of_days,
ft,
planning_cycle_version_name,
metric_type_renamed
ORDER BY CASE
WHEN metric_type_renamed = 'units_drr' then 1
WHEN metric_type_renamed = 'gmv_drr' then 2
WHEN metric_type_renamed = 'units_total' then 3
WHEN metric_type_renamed = 'gmv_total' then 4
END ASC
LIMIT 10000;
Able to see this query in superset but metric_type_renamed is still not in sorted order in Superset pivot. Am I missing anything? In SQL data is being shown in sorted order
#### How to reproduce the bug
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### Expected results
what you expected to happen.
### Actual results
what actually happens.
#### Screenshots
If applicable, add screenshots to help explain your problem.
### Environment
(please complete the following information):
- browser type and version:
- superset version: `superset version`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### 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.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] Data not in sorted order in Pivot table [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #25835:
URL: https://github.com/apache/superset/issues/25835#issuecomment-2040455481
Closing this as stale, since it's been silent for 5 months. If you're still encountering this in 3.1.x or the 4.0 RC, and can provide an example/screenshots that we can reproduce the issue with (preferably using data from built-in examples or generated by the query) we can revisit/reopen.
--
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] Data not in sorted order in Pivot table [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #25835: Data not in sorted order in Pivot table
URL: https://github.com/apache/superset/issues/25835
--
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