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/05/15 05:07:54 UTC

[GitHub] yamyamyuo opened a new issue #5002: superset presto database support editing `X-Presto-Source`

yamyamyuo opened a new issue #5002: superset presto database support editing `X-Presto-Source`
URL: https://github.com/apache/incubator-superset/issues/5002
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if 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
   
   
   ### Superset version
   0.22.1
   
   
   ### Expected results
   I am using presto as a database and query engine. I have been finding ways to change the headers = {'X-Presto-Source': 'superset@ip'} each time we call the presto API. 
   I have searched the SQLAlchemy uri and extra parameters. Both of these seems not applicable.
   
   I just hope the source in the following figure could be modified to customized name.
    
   
   
   ### Actual results
   The source is `pyhive`
   
   ### Steps to reproduce
   setup Superset and add a presto database. Go to the presto's web pages e.g. http://prestohost:8080
   Run some query in Superset and you will see the above figure 
   
   

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