graceguo-supercat opened a new issue #14307: URL: https://github.com/apache/superset/issues/14307
#### Screenshots If applicable, add screenshots to help explain your problem. #### How to reproduce the bug 1. Enable native filter feature flag, and create new dashboard 2. add a new chart, for example, "Names count" chart from birth_names dataset 3. add native filter in the dashboard. Check **Enable empty filter** and click Apply button. 4. Chart shows No Results. If you open chart in explore view, there is strange `1 = 0` is added as adhoc filter. <img width="838" alt="Screen Shot 2021-04-22 at 4 55 34 PM" src="https://user-images.githubusercontent.com/27990562/115798718-bfe26900-a38b-11eb-9945-fc3da40cc226.png"> ### Environment latest master ### Checklist Make sure to follow these steps 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 I am not sure what exactly "Enable empty filter" control mean. I assume it match with old filter_box option "Required"? <img width="446" alt="Screen Shot 2021-04-22 at 5 01 16 PM" src="https://user-images.githubusercontent.com/27990562/115799014-6af32280-a38c-11eb-9636-9ec9f77d1f44.png"> But no matter this filter field is required or not, it should not add strange clause. cc @junlincc @amitmiran137 -- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
