Skip to content

Conversation

@ryder-gillen-ltk
Copy link

What

Fix catalog support in Athena query execution.

Why

The driver previously had catalog support in the connection struct and context functions, but it wasn't being passed to the actual Athena query execution. This meant that even when users set a catalog via SetCatalog() or connection parameters, the catalog wasn't being used in the QueryExecutionContext, causing queries to run against the wrong catalog.

How

Added the missing Catalog: aws.String(c.catalog) field to the QueryExecutionContext in the startQuery() function. The catalog infrastructure was already in place - it just wasn't being passed to the Athena API call.

Ref

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.

1 participant