Open
Description
Bug description
Using the get_filters
jinja macro inside of a virtual dataset does not get a filter if the operator is set to IS NULL or IS NOT NULL. Because of this it also does not remove them when remove_filter
is set to true
.
IS NULL and IS NOT NULL filters are the only SIMPLE filters that do not have a comparator
. They fail this check.
Proposed fix: #33296
Screenshots/recordings
No response
Superset version
4.1.2
Python version
I don't know
Node version
I don't know
Browser
Not applicable
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.