Skip to content

Feature Group Athena Query allow setting the Athena workgroup, currently it only running in Primary workgroup of Athena #3176

Closed

Description

@rahulsing

Describe the feature you'd like
Not able to set workgroup for Athena query running on feature group.
If I try to set:
identity_query.run(query_string=query_string, output_location='s3://'+default_s3_bucket_name+'/query_results/',workgroup='non-primaty')
Getting the below error:
TypeError: run() got an unexpected keyword argument 'workgroup'

How would this feature be used? Please describe.
This will allow Athena query to run with project specific workgroup instead of running all the query in primary.

Describe alternatives you've considered
Non for now, only boto3 is any option to use for querying by setting the workgroup

Additional context
Athena start_query_execution has this capability.
image
But missing in SageMaker SDK:
image

Activity

  1. akrishna1995 commented on Dec 28, 2023

    @akrishna1995
    Contributor

    We have added your feature request to our backlog of feature requests and may consider putting it into future SDK versions. I will go ahead and close the issue now, please let me know if you have any more feedback.

  2. johnrc90 commented on Aug 28, 2026

    @johnrc90

    Is this in the backlog yet? Im trying to use the V3 in Sagemaker Unified Studio and each project has access to its own workgrup, so the DatasetBuilder dont work without being able to choose the workgroup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions