-
Notifications
You must be signed in to change notification settings - Fork 721
feat: avoid get workgroup #3234
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
base: main
Are you sure you want to change the base?
Conversation
…_workgroup_config to determine if the workgroup config should be retreived from the server
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
| Data Source / Catalog name. If None, 'AwsDataCatalog' will be used by default. | ||
| wait | ||
| Indicates whether to wait for the query to finish and return a dictionary with the query execution response. | ||
| retreive_workgroup_config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this flag might be redundant. We should let the user override s3_output, encryption, kms key (which we already do), otherwise fall back to default workgroup settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your suggestion is definitely an option - it just means that we will never get the settings from the AWS API. Personally I'm fine with that, and ready to change the PR to do so, let me know if it's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a 2nd PR to this effect: #3237
Feature or Bugfix
Detail
Allow callers of Athena functions to avoid retrieving the Athena workgroup configuration from the AWS account
Relates
#3233
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.