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 2019/09/05 09:16:11 UTC

[GitHub] [incubator-superset] squalou opened a new issue #8178: wrong "backquotes" around datasource when "Explorer in SQL Lab" from a Chart

squalou opened a new issue #8178: wrong "backquotes" around datasource when "Explorer  in SQL Lab" from a Chart
URL: https://github.com/apache/incubator-superset/issues/8178
 
 
   From a Chart editor using a datasource, when clicking on 'datasource' then choosing 'explore in SQL Lab', the query filled in SQLLab contains wrong chars around datasource name. 
   
   ### Expected results
   
   for instance : SQL Lab should contain ```select * from schema.table limite 100```
   
   ### Actual results
   
   ```select * from `schema.table` limite 100```
   
   => this causes the query to fail.
   
   
   #### Screenshots
   
   ![2019-09-05 11-13-49 screenshot](https://user-images.githubusercontent.com/4623644/64328765-58b54c80-cfce-11e9-9d16-757b51b22e6e.png)
   
   
   #### How to reproduce the bug
   
   1. Go to any chart based no a table datasource
   2. Click on datasource
   3. Scroll to "ezxplore in SQL Lab"
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: 0.34 and master HEAD from 2019-08-27
   - python version: 3.6
   - node.js version: 12.9.0
   
   
   ### Checklist
   
   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 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


With regards,
Apache Git Services

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