Skip to content
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

feat: add catalog_name param to AthenaConnection handle #358

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

brunofaustino
Copy link
Contributor

@brunofaustino brunofaustino commented Jul 25, 2023

Fixes #359

Description

Currently, the Glue catalog value is not being passed as a parameter in the AthenaConnection call.

When attempting to use a catalog other than the default (awsdatacatalog), the following error is displayed:

botocore.errorfactory.InvalidRequestException: An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: Unsupported ddl with 2 catalogs: ...*/

The solution now includes the addition of the 'catalog_name' parameter to the AthenaConnection handle.

Models used to test - Optional

Checklist

  • You followed contributing section
  • You kept your Pull Request small and focused on a single feature or bug fix.
  • You added unit testing when necessary
  • You added functional testing when necessary

@Jrmyy Jrmyy changed the title added catalog_name param to AthenaConnection handle feat: add catalog_name param to AthenaConnection handle Jul 31, 2023
@Jrmyy Jrmyy merged commit f190664 into dbt-labs:main Aug 4, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Added Glue Catalog Parameter Support for AthenaConnection
3 participants