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 2018/06/01 23:27:34 UTC

[GitHub] betodealmeida commented on issue #5101: Explore to SQL Lab

betodealmeida commented on issue #5101: Explore to SQL Lab
URL: https://github.com/apache/incubator-superset/pull/5101#issuecomment-394034565
 
 
   I changed the "View Query" button to a dropdown label "Query" with 3 options:
   
   - View query: same as before
   - View data: shows preview of the data
   - Run in SQL Lab: auto-runs the query in SQL Lab
   
   For the data preview, we can't reuse the data that is present in `queryResponse`, since its format depends on the viz type. Instead, I changed the `query` endpoint to return the data in a format appropriate for displaying as a table.
   
   
   ![explore_to_sqllab](https://user-images.githubusercontent.com/1534870/40867380-a70ae2d6-65b8-11e8-9666-9b0b91817ab3.gif)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org