Issue Summary

I can’t query a query using a filter column. There’s always an error of
Error running query: no such column: field

For instance, create a query like:
select 1 as idx, 2018 as ‘year::filter’;

You’ll get a table like this:

If you try to create a query on this table, you will never be able to query year=2018.

Technical details:

  • Redash Version: 4.0.0
  • Browser/OS: Chrome/Win10
  • How did you install Redash: self hosted