Skip to content

"schema_name" config not applied to unqualified models with Athena #4042

@ksonbol

Description

@ksonbol

Hi,
This issue references a discussion in the Tobiko Slack.
When using Athena as a gateway, the schema_name config is not applied to unqualified models and default is used instead.

@erindru 's explanation:

schema_name is a passed to the PyAthena driver, which injects it into the QueryExecutionContext part of the AWS API calls as Database (so the idea here is that the database driver effectively calls SET SCHEMA <schema_name> before running a query).

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions