athenadriver
athenadriver copied to clipboard
A fully-featured AWS Athena database driver (+ athenareader https://github.com/uber/athenadriver/tree/master/athenareader)
The README specifies a `get_cost` command. However there doesn't appear to be any examples, tests, or documentation on how to use this pseudo command.
Hi, I'm having troubles accessing Athena from a Lambda function. I want to use an AccessKeyID and SecretAccessKey from an IAM User I created, which has the following permissions: ```...
## Reason I found it becomes a little hard to connect from one eks cluster to another account's athena through STS role assumption. Static credentials may become expired after a...
- Add an optional simple client side cache - Add an optional persistent strategy for cache hit/miss statistics
Is there a way to override the athena endpoint like s3 or dynamo can be overridden?
**End-of-support** for AWS SDK for Go (v1) has been [announced](https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/) and will be effective **July 31, 2025**. Are there any plans to [migrate](https://aws.github.io/aws-sdk-go-v2/docs/migrating/) `athenadriver` to use the AWS SDK for...
Consider adding support for https://docs.aws.amazon.com/athena/latest/ug/reusing-query-results.html similar to https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#ResultReuseConfiguration
WARNING: DATA RACE Read at 0x00c0008f0118 by goroutine 33: github.com/uber/athenadriver/go.(*DriverTracer).Scope() /home/user/go/pkg/mod/github.com/uber/[email protected]/go/trace.go:99 +0xfe4 github.com/uber/athenadriver/go.(*SQLConnector).Connect() /home/user/go/pkg/mod/github.com/uber/[email protected]/go/connector.go:112 +0xfb3 database/sql.(*DB).conn() /home/user/Applications/go/src/database/sql/sql.go:1395 +0xb0a database/sql.(*DB).query() /home/user/Applications/go/src/database/sql/sql.go:1732 +0x99 database/sql.(*DB).QueryContext() /home/user/Applications/go/src/database/sql/sql.go:1710 +0xf9
I use Localstack for local development. It has support for Athena: https://docs.localstack.cloud/user-guide/aws/athena/ Unfortunately, when I try to use athenadriver with it, the driver is trying to talk to AWS instead...