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 2021/02/22 14:12:54 UTC

[GitHub] [superset] ValentinC-BR opened a new issue #13278: Pivot Table - Wrong Sort Order

ValentinC-BR opened a new issue #13278:
URL: https://github.com/apache/superset/issues/13278


   When I create a pivot table with a dimension in "group by" section and a numeric metric, the rows are not sorted correctly.
   
   ### Expected results
   
   Rows should be sorted from the biggest number to the lowest one
   
   ### Actual results
   
   Row are sorted as if the metric is a strinc (90 > 9.0 > 80 > 8.1 > 70 etc.)
   
   #### Screenshots
   
   ![image](https://user-images.githubusercontent.com/79460908/108719836-59260800-7520-11eb-8a1e-9b8c97ee605d.png)
   
   
   #### How to reproduce the bug
   
   1. Go to 'Chart'
   2. Click on 'Create' / Pivot Table
   3. Select a dimension in "group by"
   4. Create a metric (sum(x) for instance)
   5. Sort the metric column by clicking on the top right logo if needed
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: 1.0.1
   - python version: 3.7.9
   - node.js version: doesn't apply, I run on Kubernetes, using gunicorn as server
   - source : Athena
   
   ### 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.
   - [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
   
   /
   


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

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] ValentinC-BR commented on issue #13278: Pivot Table - Wrong Sort Order

Posted by GitBox <gi...@apache.org>.
ValentinC-BR commented on issue #13278:
URL: https://github.com/apache/superset/issues/13278#issuecomment-947361395


   Hello,
   Was this bug solved in new versions of Superset ?


-- 
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] junlincc closed issue #13278: Pivot Table - Wrong Sort Order

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


   


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