saurabh1-singh edited a comment on issue #5547: Adds a new macro to allow 
getting filter values easily
URL: 
https://github.com/apache/incubator-superset/pull/5547#issuecomment-568066803
 
 
   > This is useful if:
   >         - you want to use a filter box to filter a query where the name of 
filter box
   >           column doesn't match the one in the select statement
   >         - you want to have the ability for filter inside the main query 
for speed purposes
   
   This does not work as mentioned in the PR, if the column in filter box does 
not match the one in the other visualization select statement, it throws error 
because it tries to wrap the query and apply the filter with the column name of 
the filter box.
   
   All I want is a query like this
   SELECT col_1 FROM xyz where x >= {{ something }} and x < {{ something else }}
   
   After that I name the column in Filter Box "something" and "something else" 
but I get error "something" not present in expr_query

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to