zhaoyongjie commented on pull request #15843:
URL: https://github.com/apache/superset/pull/15843#issuecomment-886873385


   > > Hi @betodealmeida, Thanks for this improvement. But, please hold on to 
this PR. Can we do this by constructing a different query object on the front 
end?
   > 
   > @zhaoyongjie I don't think we can. We would have to express the 
aggregation functions for the pivoting using the query context. For other 
text-based visualization like the t-test table it would also by really hard to 
express the statistical significance logic in a backend-agnostic query.
   > 
   > What are your concerns here?
   
   Sorry for reply is a little late. The newest v1 API has `post_processing` 
field, we can do a similar pivot operation on the `df`. but it looks like the 
old query_object is not supported. I would need more time to research it. If 
this PR is urgent, I think we can merge it first.
   
   
![image](https://user-images.githubusercontent.com/2016594/127029577-9db8d6f5-5f74-4f13-a132-e1e2e624fa0c.png)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to