Title. When running the query (Metabase version 0.43.0) with a Field Filter as an optional parameter everything works fine. However, once I click the dropdown menu and select any values within the mapped column the query returns an error saying the dataset does not exist. I am running Open Source, so apparently I have no access to logs. The query and error are as follows (project and dataset names omitted):
select
count(dataset_3.id) as cont
from project.dataset_1
left join project.dataset_2
on dataset_2.id = dataset_1.id
left join project.dataset_3
on dataset_3.id = dataset_2.id
where {{name}}
This works perfectly fine without any Field values, however as mentioned I get the following error:
{ "code" : 400, "errors" : [ { "domain" : "global", "location" : "q", "locationType" : "parameter", "message" : "Unrecognized name: dataset_1
at [10:40]", "reason" : "invalidQuery" } ], "message" : "Unrecognized name: dataset_1
at [10:40]", "status" : "INVALID_ARGUMENT" }
Is this a bug? Will upgrading to the latest release fix this issue?