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/08/01 19:53:44 UTC

[GitHub] teedoo opened a new issue #5541: `where` clause in form data

teedoo opened a new issue #5541: `where` clause in form data
URL: https://github.com/apache/incubator-superset/issues/5541
 
 
   Hi,
   
   I'm using the `/explore/<datasource_type>/<datasource_id>/` API with form_data containing `viz_type` and `where` clause. So according to the [code](https://github.com/apache/incubator-superset/blob/master/superset/views/core.py#L986-L988), this seems to be the old format of form data and will be converted to the new format. But the where clause seems to be lost during the casting process.
   
   Seems `where` clause gets dropped because it's not in the `FORM_DATA_KEY_WHITELIST`?
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] 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
   
   
   ### Expected results
   
   
   ### Actual results
   
   
   ### Steps to reproduce
   
   
   

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