-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
field filter issue when using default database to connect to #114
Comments
I can repro this as well. I looks like this is because the generated query doesn't use the proper schema name in the Expected query: SELECT * FROM "databasename"."tablename"
WHERE "column_name" = xx Actual query: SELECT * FROM tablename
WHERE "databasename"."tablename"."column_name" = xx This also doesn't work even without the A temporary workaround would be to update the SQL query to include the schema name, e.g. |
@dacort to follow up on this - by |
@juliansteger-sc No, I did mean the Metabase Athena driver. I think I was trying to determine if the issue lay in my implementation of the SQL queries in the Metabase Athena driver or in one of the generic "jdbc" functions from Metabase that get called by this driver. I still don't know the answer and left this issue open because I was hoping to research it. That said, feel free to try out 0.45 and see if it works. If not, I'd open an issue with Metabase. |
We are using this Athena Adapter with following setting for Additional Athena connection string options:
Now when we set up a field filter like in
the query fails with
because prefixing the table by the database name doesn't work in
where
statements.Not sure if this is a bug in this driver or a shortcoming of the jdbc driver.
Thanks
The text was updated successfully, but these errors were encountered: