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

Required argument s3_staging_dir or work_group not found. #79

Open
mooreniemi opened this issue Aug 5, 2023 · 2 comments
Open

Required argument s3_staging_dir or work_group not found. #79

mooreniemi opened this issue Aug 5, 2023 · 2 comments

Comments

@mooreniemi
Copy link

mooreniemi commented Aug 5, 2023

Required argument s3_staging_dir or work_group not found.

Even though these have been defined in the ~/.athenacli/athenaclirc. Screenshot for proof:

Xnip2023-08-05_16-14-11

I'm working around this by sending in the arguments but is sub-optimal. Could this be because I am not defining aws access key and secret in the config? (I get those from the defined profile I use.)

@zzl0
Copy link
Contributor

zzl0 commented Aug 6, 2023

I don't have AWS account to test now. Could you try AWS_ATHENA_S3_STAGING_DIR and AWS_ATHENA_WORK_GROUP environment instead?

https://athenacli.readthedocs.io/en/latest/awsconfig.html

@mooreniemi
Copy link
Author

Yes, those environment variables when exported work.

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

No branches or pull requests

2 participants