Skip to content

Conversation

@theboringhumane
Copy link

@theboringhumane theboringhumane commented Sep 17, 2025

Key Changes

  • Config API Enhancements:

    Added a new optional flag to the configuration allowing users to enable AWS managed output buckets during setup instead of specifying a custom S3 output bucket.

    Updated the NewDefaultConfig function and added SetManagedBucket/GetManagedBucket logic.

  • Query Execution Logic:

    The QueryContext was refactored to conditionally set the ResultConfiguration in Athena queries.

    If the AWS managed bucket feature is enabled, the ResultConfiguration.OutputLocation is omitted, aligning with best practices for Athena workgroups that use managed buckets.

  • Documentation and Example Updates:

    The README.md and code examples now include documentation on configuring AthenaDriver to use AWS managed output buckets.

    Provided a new example function: useAthenaDriverConfigForAuthWithManagedBucket, demonstrating authentication and connection with managed buckets in examples/auth.go.

Why
This enhancement simplifies configuration for users leveraging AWS managed buckets and avoids conflicts with workgroups that already have managed output buckets enabled in AWS.

@CLAassistant
Copy link

CLAassistant commented Sep 17, 2025

CLA assistant check
All committers have signed the CLA.

@theboringhumane theboringhumane changed the title Support aws managed buckets Support aws managed output buckets Sep 17, 2025
@theboringhumane theboringhumane changed the title Support aws managed output buckets Support AWS Managed Output Buckets in AthenaDriver Configuration Sep 17, 2025
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.

2 participants