question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to specify output bucket for query results in s3?

See original GitHub issue

Hi, we are moving frmo pyathenajdbc to pyathena, but we are trying to specify the S3OutputLocation parameter. We need it in our code. is this possible for this library?

thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
laughingman7743commented, Jul 4, 2019

Yes!

0reactions
rinatiocommented, Jul 4, 2019

@laughingman7743 would AWS_ATHENA_S3_STAGING_DIR environment also do it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with query results, recent queries, and output files
In the Location of query result box, enter the path to a bucket in Amazon S3 for your query results. Prefix the path...
Read more >
Athena query results at specific path on S3 - Stack Overflow
Another way of storing Athena query results at a specific location in S3 is to use a CTAS-Query (CREATE TABLE AS SELECT).
Read more >
Before you run your first query, you need to set ... - A Cloud Guru
1. Navigate to S3 · 2. Create a bucket · 3. Create a folder in the bucket created above · 4. Back in...
Read more >
Setup Output S3 Bucket - AWS Well-Architected Labs
We need to provide a location to deliver the output from the Athena queries, so that it can be secured and restricted to...
Read more >
Unloading Query Results to Amazon S3 - Acquia Docs
Create a new IAM user in your AWS account for CDP. · Create a S3 bucket with the following properties: · Define additional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found