You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, when I try to use this athena sql driver with it, the driver is trying to talk to AWS instead of my local localstack endpoint.
There needs to be a way to point athenadriver at other providers and endpoints.
Example of setting an endpoint:
athenaClient=athena.NewFromConfig(awsConfig, func(options*athena.Options) {
options.BaseEndpoint=aws.String("http://localstack:4566/") // Point to localstack container
})
The text was updated successfully, but these errors were encountered:
I use Localstack for local development.
It has support for Athena: https://docs.localstack.cloud/user-guide/aws/athena/
It is basically a way to run a mock aws account in local development.
Unfortunately, when I try to use this athena sql driver with it, the driver is trying to talk to AWS instead of my local localstack endpoint.
There needs to be a way to point athenadriver at other providers and endpoints.
Example of setting an endpoint:
The text was updated successfully, but these errors were encountered: